Object

infcalcs

ParameterFuncs

Related Doc: package infcalcs

Permalink

object ParameterFuncs

Contains a handful of utility functions.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParameterFuncs
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. def stringToSList(s: String): Option[List[Double]]

    Permalink

    Parses strings specifying list or range parameters.

    Parses strings specifying list or range parameters.

    Used by updateParameters to parse configuration parameters that have list values. Strings may specify a list of whitespace-separated numbers (eg., "5 10 15"), comma-separated numbers specifying the start, stop, and step size for numerical ranges (e.g., "0, 10, 1"), or simply "None". If there are more than three comma-separated arguments, an exceptions.IllegalParameterException is thrown.

    s

    The string to parse.

    returns

    List of Doubles specified by the string.

    Annotations
    @throws( ... )
    Exceptions thrown

    exceptions.IllegalParameterException if comma separated values are incorrectly written

  16. def stringToValList(s: String, cur: Option[Vector[NTuple[Double]]]): Option[Vector[NTuple[Double]]]

    Permalink

    Parses strings for generation of n-dim value vectors

    Parses strings for generation of n-dim value vectors

    Uses the same parsing function as stringToSList but compiles the results into a two dimensional Vector in which each element is an n-tuple denoting a particular signal or response in n-dimensional space

    s

    The string to parse

    cur

    The current state of the parameter in questions

    returns

    2D vector generated from various configuration commands

  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. def updateParameters(l: List[Pair[String]], p: Parameters = InfConfig.defaultParameters): Parameters

    Permalink

    Updates a set of configuration parameters with a list of key/value pairs.

    Updates a set of configuration parameters with a list of key/value pairs.

    Used to update the default parameter values with parameter values loaded from a file. If the key/value list contains a key that is not found in the parameter list, an exceptions.IllegalParameterException is thrown.

    l

    The list of key, value pairs to use for updating.

    p

    The configuration parameters to be updated.

    returns

    The updated parameters.

    Annotations
    @tailrec() @throws( ... )
    Exceptions thrown

    exceptions.IllegalParameterException if the string does not match any known parameter

  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped