cc.factorie

variable

package variable

Visibility
  1. Public
  2. All

Type Members

  1. trait AbstractAssignment1[A <: Var] extends Assignment

    An efficient abstract Assignment of one variable.

  2. trait AbstractAssignment2[A <: Var, B <: Var] extends Assignment

    An efficient abstract Assignment of two variables.

  3. trait AbstractAssignment3[A <: Var, B <: Var, C <: Var] extends Assignment

    An efficient abstract Assignment of three variables.

  4. trait AbstractAssignment4[A <: Var, B <: Var, C <: Var, D <: Var] extends Assignment

    An efficient abstract Assignment of three variables.

  5. trait AbstractChainLink[+This <: AbstractChainLink[This]] extends AnyRef

    A simple superclass of ChainLink that has a self-type argument, but (unlike ChainLink) not the type of the Chain.

  6. class ArrayBufferVars[V <: Var] extends ArrayBuffer[V] with Vars[V]

    A Vars with ArrayBuffer-based storage of the value.

  7. class ArrayVars[V <: Var] extends Vars[V]

    A Vars with array-based storage of the value.

  8. class ArrowVariable[A <: AnyRef, B] extends EdgeVar[A, B]

    An EdgeVariable in which the "src" is constant, and the "dst" is mutable.

  9. trait Assignment extends AnyRef

    Typically Variable instances hold their value internally.

  10. class Assignment1[A <: Var] extends AbstractAssignment1[A]

    An efficient Assignment of one variable.

  11. class Assignment2[A <: Var, B <: Var] extends AbstractAssignment2[A, B]

    An efficient Assignment of two variables.

  12. class Assignment3[A <: Var, B <: Var, C <: Var] extends AbstractAssignment3[A, B, C]

    An efficient Assignment of three variables.

  13. class Assignment4[A <: Var, B <: Var, C <: Var, D <: Var] extends AbstractAssignment4[A, B, C, D]

    An efficient Assignment of three variables.

  14. class AssignmentStack extends Assignment

    An Assignment backed by a sequence of assignments.

  15. abstract class AutoDiff extends Diff

    A Diff which, when created, performs the change.

  16. abstract class BinaryFeatureVectorVariable[C] extends CategoricalVectorVariable[C] with FeatureVectorVar[C]

    The standard variable for holding binary feature vectors.

  17. class BooleanDomain extends CategoricalDomain[Boolean] with Domain

    The Domain for BooleanVar, of size two, containing a falseValue (with intValue = 0) and a trueValue (with intValue = 1).

  18. trait BooleanLabeling extends BooleanVariable with LabeledMutableBooleanVar

    A trait that is mixed into a BooleanVariable, which provides it with everything it needs to also be a LabeledMutableBooleanVar.

  19. trait BooleanTargetVar extends MutableBooleanVar with CategoricalTargetVar[Boolean]

    An abstract container of a target value for categorical variables.

  20. class BooleanTargetVariable extends BooleanVariable with BooleanTargetVar

    A concrete container of a target value for categorical variables.

  21. trait BooleanValue extends CategoricalValue[Boolean]

    The value of a BooleanDomain.

  22. trait BooleanVar extends CategoricalVar[Boolean] with VarWithDomain

    A Variable containing a single Boolean value, which might be mutable or immutable.

  23. class BooleanVariable extends MutableCategoricalVar[Boolean] with MutableBooleanVar

    A concrete mutable Boolean variable.

  24. class CategoricalDomain[C] extends DiscreteDomain with IndexedSeq[CategoricalValue[C]] with CategoricalVectorDomain[C] with Domain with ProtectedIntArrayBuffer

    A domain for categorical variables.

  25. class CategoricalDomainCubbie[T] extends util.Cubbie

  26. trait CategoricalLabeling[C] extends CategoricalVariable[C] with LabeledMutableCategoricalVar[C]

    A trait that is mixed into a CategoricalVariable, which provides it with everything it needs to also be a LabeledMutableCategoricalVar.

  27. class CategoricalSeqDomain[C] extends DiscreteSeqDomain with Domain

    A Domain for sequences of CategoricalValues.

  28. class CategoricalSeqDomainCubbie[T] extends util.Cubbie

    A Cubbie for serializing a CategoricalSeqDomain.

  29. abstract class CategoricalSeqVariable[C] extends MutableDiscreteSeqVar[CategoricalValue[C]] with IndexedSeqVar[CategoricalValue[C]]

    A variable whose values are sequences of CategoricalValues.

  30. trait CategoricalTargetVar[C] extends MutableCategoricalVar[C] with DiscreteTargetVar

    An abstract container of a target value for categorical variables.

  31. class CategoricalTargetVariable[C] extends CategoricalVariable[C] with CategoricalTargetVar[C]

    A concrete container of a target value for categorical variables.

  32. trait CategoricalValue[C] extends DiscreteValue

    A value in a CategoricalDomain.

  33. trait CategoricalVar[C] extends DiscreteVar with CategoricalVectorVar[C] with VarWithDomain

    A DiscreteVar whose integers 0.

  34. abstract class CategoricalVariable[C] extends MutableDiscreteVar with MutableCategoricalVar[C]

    A MutableDiscreteVar whose integers 0.

  35. trait CategoricalVectorDomain[C] extends VectorDomain

    A domain over Tensor values, where the dimensions of the Tensor correspond to a CategoricalDomain.

  36. class CategoricalVectorDomainCubbie[T] extends util.Cubbie

    A Cubbie for serializing CategoricalVectorDomain.

  37. trait CategoricalVectorVar[C] extends VectorVar

    An abstract variable whose value is a Tensor whose length matches the size of a CategoricalDomain, and whose dimensions each correspond to a category.

  38. abstract class CategoricalVectorVariable[C] extends VectorVar with MutableTensorVar with CategoricalVectorVar[C]

    An abstract variable whose value is a Tensor whose length matches the size of a CategoricalDomain, and whose dimensions each correspond to a category.

  39. trait Chain[This <: Chain[This, E], E <: ChainLink[E, This]] extends ThisType[This] with IndexedSeqSimilar[E]

    A chain of elements, each of which has methods "next", "prev", etc.

  40. trait ChainInChain[This <: ChainInChain[This, E, S], E <: ChainLink[E, This], S <: Chain[S, This]] extends ChainLink[This, S] with Chain[This, E]

    A Chain which itself is also an element of an outer Chain.

  41. trait ChainLink[This <: ChainLink[This, C], C <: Chain[C, This]] extends AbstractChainLink[This] with ThisType[This]

    An element or "link" of a Chain sequence.

  42. trait ChainVar[This <: ChainVar[This, E], E <: ChainLink[E, This]] extends Chain[This, E] with IndexedSeqVar[E]

    An abstract variable that is a Chain, with value IndexedSeq[ElementType].

  43. class ChainVariable[This <: ChainVariable[This, E], E <: ChainLink[E, This]] extends ChainVar[This, E]

    A variable that is a Chain, with value IndexedSeq[ElementType].

  44. trait ContainerVariable[A <: Var] extends Var

    A variable that is a container for other variables (whose type is this.

  45. class DenseMasses1 extends DenseTensorLike1 with Masses1 with DenseMassesWithTotal

  46. class DenseMasses2 extends DenseTensorLike2 with Masses2 with DenseMassesWithTotal

  47. class DenseMasses3 extends DenseTensorLike3 with Masses3 with DenseMassesWithTotal

  48. class DenseMasses4 extends DenseTensorLike4 with Masses4 with DenseMassesWithTotal

  49. trait DenseMassesWithTotal extends DenseTensor with MassesWithTotal

    A DenseTensor Masses that provides a protected var for holding the massTotal.

  50. trait DenseProportions extends DenseDoubleSeq with Proportions

  51. class DenseProportions1 extends Proportions1 with DenseProportions

  52. class DenseProportions2 extends Proportions2 with DenseProportions

  53. class DenseProportions3 extends Proportions3 with DenseProportions

  54. class DenseProportions4 extends Proportions4 with DenseProportions

  55. trait DenseTensorProportions extends DenseTensor with Proportions

  56. class DenseTensorProportions1 extends la.DenseTensor1 with DenseTensorProportions with Proportions1

  57. class DenseTensorProportions2 extends la.DenseTensor2 with DenseTensorProportions with Proportions2

  58. class DenseTensorProportions3 extends la.DenseTensor3 with DenseTensorProportions with Proportions3

  59. class DenseTensorProportions4 extends la.DenseTensor4 with DenseTensorProportions with Proportions4

  60. trait Diff extends AnyRef

    A change record for a variable, holding its old and new values, with capability to undo and redo the change.

  61. class DiffList extends ArrayBuffer[Diff]

    A collection of changes to variables.

  62. class DiscreteAssignment1[A <: DiscreteVar] extends AbstractAssignment1[A] with MutableAssignment

    An efficient Assignment of one DiscreteVar.

  63. class DiscreteDomain extends IndexedSeq[DiscreteValue] with VectorDomain with Domain

    The domain of a DiscreteVar.

  64. class DiscreteDomainCubbie extends util.Cubbie

    A Cubbie for serializing a DiscreteDomain.

  65. trait DiscreteLabeling extends DiscreteVariable with LabeledMutableDiscreteVar

    A trait that is mixed into a DiscreteVariable, which provides it with everything it needs to also be a LabeledMutableDiscreteVar.

  66. abstract class DiscreteSeqDomain extends Domain

    A Domain for sequences of DiscreteValues.

  67. trait DiscreteSeqVar extends IndexedSeqVar[DiscreteValue]

    An abstract variable whose values are sequences of DiscreteValues.

  68. abstract class DiscreteSeqVariable extends MutableDiscreteSeqVar[DiscreteValue]

    An variable whose values are sequences of DiscreteValues, and this sequence can be changed.

  69. trait DiscreteTargetVar extends MutableDiscreteVar with TargetVar

    An abstract container of a target value for discrete variables.

  70. class DiscreteTargetVariable extends DiscreteVariable with DiscreteTargetVar

    A concrete container of a target value for discrete variables.

  71. trait DiscreteValue extends SingletonBinaryTensorLike1

    A value in a DiscreteDomain.

  72. trait DiscreteVar extends VectorVar with VarWithDomain

    A single discrete variable

  73. abstract class DiscreteVariable extends MutableDiscreteVar

    A concrete single discrete variable whose value can be changed.

  74. trait Domain extends AnyRef

    The "domain" of a variable---a representation of all of its values, each having type 'ValueType'.

  75. trait DoubleDomain extends Domain

    The type of the domain of DoubleVariables.

  76. class DoubleTargetVariable extends DoubleVariable with TargetVar

  77. trait DoubleVar extends ScalarVar

    A Variable with a real (double) value.

  78. class DoubleVariable extends MutableDoubleVar

    A Variable with a mutable Double value.

  79. trait EdgeVar[A, B] extends Var

    An abstract variable representing an edge between two nodes in a graph.

  80. class EdgeVariable[A, B] extends EdgeVar[A, B] with MutableVar

    A variable representing an edge between two nodes in a graph.

  81. trait ElementType[+ET] extends AnyRef

    A trait for setting the member type ElementType in SeqVar classes.

  82. class EmptySetVar[A] extends SetVar[A]

    A SetVar whose value is always empty.

  83. class EnumDomain extends CategoricalDomain[String]

    A Categorical domain with enumerated values.

  84. trait FeatureVectorVar[-C] extends VectorVar

    A super trait for feature vectors, both (a) those based on CategoricalDomain[C] and (b) those without explicitly stored categories in their domains, such as HashFeatureVectorVariable.

  85. abstract class FeatureVectorVariable[C] extends CategoricalVectorVariable[C] with FeatureVectorVar[C]

    The standard variable for holding feature vectors with non-binary values.

  86. class GrowableDenseMasses1 extends ProxyGrowableDenseTensor1 with Masses1 with MassesWithTotal

  87. class GrowableDenseProportions1 extends Proportions1 with DenseProportions

  88. class GrowableUniformMasses1 extends Masses1 with UniformTensor

  89. class GrowableUniformProportions1 extends DenseDoubleSeq with Proportions1

  90. class HammingLossTemplate[A <: LabeledVar] extends TupleTemplateWithStatistics2[A, variable.HammingLossTemplate.A.TargetType]

  91. class HammingTemplate[A <: LabeledVar] extends TupleTemplateWithStatistics2[A, variable.HammingTemplate.A.TargetType]

  92. abstract class HashFeatureVectorVariable extends VectorVariable with FeatureVectorVar[Any]

    A variable whose value is a SparseTensor1 whose length matches the size of a DiscreteDomain, and whose dimensions each correspond to the result of running a hash function on elements added to the vector using +=.

  93. class HashMapAssignment extends MutableAssignment

    A MutableAssignment backed by a HashMap.

  94. trait IndexedSeqSimilar[+E] extends SeqSimilar[E]

    A trait with many of the same methods as IndexedSeq, but not actually a IndexedSeq itself.

  95. trait IndexedSeqVar[+E] extends SeqVar[E] with IndexedSeqSimilar[E]

    An abstract variable whose value is an IndexedSeq[E].

  96. trait IntegerDomain extends Domain

  97. class IntegerTargetVariable extends IntegerVariable with TargetVar

  98. trait IntegerVar extends ScalarVar with VarWithDomain

    An abstract variable with one Int value.

  99. class IntegerVariable extends MutableIntegerVar with MutableIntScalarVar

    A concrete variable with a mutable Int value.

  100. trait ItemizedVar[This <: ItemizedVar[This]] extends CategoricalVar[This] with VarWithConstantValue

    A variable put into an index, and whose categorical value is the variable itself.

  101. trait IterableDomain[+A] extends Domain with Iterable[A]

    A domain that provides (and is itself) an Iterable[] over its values.

  102. trait IterableSettings extends AnyRef

    A Variable that has a SettingIterator, created by calling "settings".

  103. trait LabeledBooleanVar extends LabeledCategoricalVar[Boolean] with BooleanVar

  104. abstract class LabeledBooleanVariable extends BooleanVariable with BooleanLabeling

    A concrete mutable boolean variable that has a true, target "labeled" value, separate from its current value.

  105. trait LabeledCategoricalVar[C] extends CategoricalVar[C] with LabeledDiscreteVar

    An abstract categorical variable that stores a desired correct "target" value separate from its current value.

  106. abstract class LabeledCategoricalVariable[C] extends CategoricalVariable[C] with CategoricalLabeling[C]

    A mutable categorical variable that has a true, target "labeled" value, separate from its current value.

  107. class LabeledDiscreteEvaluation[C] extends AnyRef

    Stores the results of evaluating per-label accuracy and other measures.

  108. trait LabeledDiscreteVar extends DiscreteVar with LabeledVar

    An abstract discrete variable that stores a desired correct "target" value separate from its current value.

  109. abstract class LabeledDiscreteVariable extends DiscreteVariable with DiscreteLabeling

    A mutable discrete variable that stores a desired correct "target" value separate from its current value.

  110. trait LabeledDoubleVar extends DoubleVar with LabeledVar

  111. class LabeledDoubleVariable extends DoubleVariable with LabeledDoubleVar

  112. trait LabeledIntegerVar extends IntegerVar with LabeledVar

  113. class LabeledIntegerVariable extends IntegerVariable with LabeledIntegerVar

  114. trait LabeledMutableBooleanVar extends MutableBooleanVar with LabeledBooleanVar with LabeledMutableCategoricalVar[Boolean]

  115. trait LabeledMutableCategoricalVar[C] extends MutableCategoricalVar[C] with LabeledMutableDiscreteVar with LabeledCategoricalVar[C]

    An abstract mutable categorical variable that has a desired correct "target" value.

  116. trait LabeledMutableDiscreteVar extends LabeledDiscreteVar with MutableDiscreteVar with LabeledMutableVar

    An abstract mutable discrete variable that stores a desired correct "target" value separate from its current value.

  117. trait LabeledMutableVar extends MutableVar with LabeledVar

    An abstract mutable variable that has a desired correct "target" value.

  118. trait LabeledRealVar extends RealVar with LabeledVar

  119. class LabeledRealVariable extends RealVariable with LabeledRealVar

  120. trait LabeledRefVar[A >: Null <: AnyRef] extends MutableRefVar[A] with LabeledVar

    An abstract MutableRefVar variable that also has a target value.

  121. abstract class LabeledRefVariable[A >: Null <: AnyRef] extends RefVariable[A] with LabeledRefVar[A]

    A RefVariable that also has a target value, suitable for supervised learning.

  122. trait LabeledStringVar extends StringVar with LabeledVar

  123. class LabeledStringVariable extends StringVariable with LabeledStringVar

  124. trait LabeledVar extends Var

    An abstract variable that has a desired correct target value, and also a "target" method returning the variable that holds this target value.

  125. trait Masses extends Tensor

    A Tensor containing only non-negative entries.

  126. trait Masses1 extends la.Tensor1 with Masses

  127. trait Masses2 extends la.Tensor2 with Masses

  128. trait Masses3 extends la.Tensor3 with Masses

  129. trait Masses4 extends la.Tensor4 with Masses

  130. trait MassesVar extends TensorVar

    An abstract variable with value Masses.

  131. class MassesVariable extends MutableMassesVar

    A variable with value Masses.

  132. trait MassesWithTotal extends Masses

    A Masses that provides a protected var for holding the massTotal.

  133. trait MutableAssignment extends Assignment

    An Assignment in which variable-value mappings can be changed.

  134. trait MutableBooleanVar extends MutableCategoricalVar[Boolean] with BooleanVar

    An abstract mutable Boolean variable.

  135. trait MutableCategoricalVar[C] extends CategoricalVar[C] with MutableDiscreteVar

    An abstract variable whose values are CategoricalValues, each corresponding to an integer 0.

  136. trait MutableDiscreteSeqVar[A <: DiscreteValue] extends MutableVar with ProtectedIntArrayBuffer with DiscreteSeqVar

    An abstract variable whose values are sequences of DiscreteValues, and this sequence can be changed.

  137. trait MutableDiscreteVar extends DiscreteVar with MutableVar with IterableSettings with VarWithDomain

    A single discrete variable whose value can be changed.

  138. trait MutableDoubleScalarVar extends ScalarVar

    A Variable with a numeric value that can be set with an Double.

  139. trait MutableDoubleVar extends DoubleVar with MutableDoubleScalarVar with MutableIntScalarVar with MutableVar

  140. trait MutableIntScalarVar extends ScalarVar

    A Variable with a numeric value that can be set with an Int.

  141. trait MutableIntegerVar extends IntegerVar with MutableVar

    An abstract variable with one Int value, which can be modified.

  142. trait MutableMassesVar extends MutableTensorVar with MassesVar

    An abstract variable with value Masses.

  143. trait MutableProportionsVar extends MutableMassesVar with ProportionsVar

  144. trait MutableRealVar extends RealVar with MutableDoubleScalarVar with MutableIntScalarVar with MutableVar

    An abstract mutable variable with Tensor value which holds a single real (Double) value.

  145. trait MutableRefVar[A <: AnyRef] extends RefVar[A] with MutableVar

    An abstract mutable variable whose value is a pointer to a Scala object (which may also be a Variable).

  146. trait MutableSeqVar[E] extends IndexedSeqVar[E] with MutableVar

    An abstract variable containing a mutable sequence of elements (which could be other variables).

  147. class MutableSpanVar[C <: Chain[C, E], E <: ChainLink[E, C]] extends SpanVar[C, E] with MutableVar

    A mutable variable whose value is a Span.

  148. trait MutableStringVar extends StringVar with MutableVar

    An abstract variable with mutable String value.

  149. trait MutableTensorVar extends TensorVar with MutableVar

  150. trait MutableVar extends Var

    A Variable with a value that can be changed.

  151. trait NoVariableCoordination extends AnyRef

    A marker for Variables that declare themselves not to automatically change other Variables' values when they are changed.

  152. case class NoopDiff(variable: Var) extends Diff with Product with Serializable

    A Diff that makes no change.

  153. trait Proportions extends Masses with ReadOnlyTensor

    A Tensor containing non-negative numbers summing to 1.

  154. trait Proportions1 extends Masses1 with Proportions

  155. trait Proportions2 extends Masses2 with Proportions

  156. trait Proportions3 extends Masses3 with Proportions

  157. trait Proportions4 extends Masses4 with Proportions

  158. class ProportionsAssignment extends Assignment1[ProportionsVariable] with Marginal1 with ProportionsMarginal

  159. trait ProportionsMarginal extends Marginal

  160. trait ProportionsVar extends MassesVar

  161. class ProportionsVariable extends MutableProportionsVar

  162. trait RealDomain extends VectorDomain

    Domain type for RealVar, which holds a single real (double) value in a SingletonTensor.

  163. class RealTargetVariable extends RealVariable with TargetVar

  164. final class RealValue extends la.Tensor1 with SingletonIndexedTensor

    A Tensor holding a single real (Double) value.

  165. trait RealVar extends VectorVar with ScalarVar

    An abstract variable with Tensor value which holds a single real (Double) value.

  166. class RealVariable extends MutableRealVar

    A mutable variable with Tensor value which holds a single real (Double) value.

  167. trait RefVar[+A <: AnyRef] extends Var

    An abstract variable whose value is a pointer to a Scala object (which may also be a Variable).

  168. class RefVariable[A <: AnyRef] extends MutableRefVar[A]

    A variable whose value is a pointer to a Scala object (which may also be a Variable).

  169. trait ScalarVar extends Var

    A Variable with a numeric value.

  170. trait SelfVariable[This <: SelfVariable[This]] extends Var with VarWithConstantValue

    A Variable whose (constant) value is the Variable object itself.

  171. trait SeqBreaks extends AnyRef

    Mix this trait into a DiscreteSeqVariable in order to be able to mark positions in the sequence as "breaks".

  172. trait SeqSimilar[+E] extends Iterable[E] with ElementType[E]

    A trait with many of the same methods as Seq, but not actually a Seq itself.

  173. trait SeqVar[+E] extends Var with SeqSimilar[E]

    An abstract variable whose value is a Seq[E].

  174. class SeqVariable[X] extends MutableSeqVar[X]

    A variable containing a mutable sequence of other variables.

  175. class SeqVars[V <: Var] extends Vars[V]

    A Vars with Seq-based storage of the value.

  176. trait SetVar[A] extends Var

    An abstract variable whose value is a set of elements of type A.

  177. class SetVariable[A] extends SetVar[A]

    A variable whose value is a set elements of type A.

  178. trait SettingIterator extends Iterator[DiffList]

    An iterator over changes to the possible world.

  179. class SingletonMasses1 extends SingletonTensor1 with Masses1

  180. class SingletonMasses2 extends SingletonTensor2 with Masses2

  181. class SingletonProportions1 extends SingletonMasses1 with Proportions1

  182. class SingletonProportions2 extends SingletonMasses2 with Proportions2

  183. class SortedSparseCountsMasses1 extends SparseDoubleSeq with Masses1

  184. class SortedSparseCountsProportions1 extends SparseDoubleSeq with Proportions1

  185. case class Span[C <: Chain[C, E], E <: ChainLink[E, C]](chain: C, start: Int, length: Int, present: Boolean = true) extends IndexedSeq[E] with Product with Serializable

    An immutable value indicating a subsequence of a Chain (and whether this span is to be considered present or "active" now).

  186. class SpanList[S <: Span[C, E], C <: Chain[C, E], E <: ChainLink[E, C]] extends ArrayBuffer[S]

    A collection of Spans, with various methods for retrieving subsets.

  187. trait SpanVar[C <: Chain[C, E], E <: ChainLink[E, C]] extends IndexedSeqVar[E]

    A (non-mutable) variable whose value is a Span.

  188. class SpanVarBuffer[S <: SpanVar[C, E], C <: Chain[C, E], E <: ChainLink[E, C]] extends ArrayBuffer[S] with SpanVarCollection[S, C, E]

    A mutable concrete collection of SpanVars, with various methods for tracking additions and removals via DiffLists.

  189. trait SpanVarCollection[+S <: SpanVar[C, E], C <: Chain[C, E], E <: ChainLink[E, C]] extends Seq[S]

    An abstract collection of SpanVars, with various methods for retrieving subsets.

  190. class SpanVarList[+S <: SpanVar[C, E], C <: Chain[C, E], E <: ChainLink[E, C]] extends SubclassableVector[S] with SpanVarCollection[S, C, E]

    An immutable concrete collection of SpanVars.

  191. class SpanVariable[C <: Chain[C, E], E <: ChainLink[E, C]] extends MutableSpanVar[C, E]

  192. trait SparseTensorProportions extends SparseIndexedTensor with Proportions

  193. class SparseTensorProportions1 extends la.Tensor1 with SparseTensorProportions with Proportions1

  194. class SparseTensorProportions2 extends la.Tensor2 with SparseTensorProportions with Proportions2

  195. class SparseTensorProportions3 extends la.Tensor3 with SparseTensorProportions with Proportions3

  196. class SparseTensorProportions4 extends la.Tensor4 with SparseTensorProportions with Proportions4

  197. class StringDomain extends Domain

    The domain of StringVar.

  198. class StringTargetVariable extends StringVariable with TargetVar

  199. trait StringVar extends VarWithDomain

    An abstract variable with String value.

  200. class StringVariable extends MutableStringVar

    A variable with mutable String value.

  201. trait TargetVar extends Var

    A trait for all variables that are containers of target values.

  202. trait TensorVar extends Var

    An abstract variable whose value is a Tensor.

  203. class TensorVariable[T <: Tensor] extends MutableTensorVar

    A variable whose value is a cc.

  204. trait ThisType[+This <: AnyRef] extends AnyRef

    A convenience trait for a class which needs to have its own type as a type parameter

  205. class UniformMasses1 extends UniformTensor1 with Masses1 with UniformTensor

  206. class UniformProportions1 extends UniformMasses1 with Proportions1

  207. trait Var extends AnyRef

    Abstract superclass of all variables.

  208. trait VarWithConstantValue extends Var

    Used as a marker for variables whose value does not change once created.

  209. trait VarWithDeterministicValue extends Var

    Used as a marker for variables whose value is a deterministic (non-stochastic) function of some other state, for example, a deterministic function of its DirectedModel parents.

  210. trait VarWithDomain extends Var

    A variable that has a Domain, with value type bound A.

  211. trait Vars[A <: Var] extends Seq[A] with ContainerVariable[A]

    A more concrete ContainerVariable, that is also a scala.

  212. trait VectorDomain extends Domain

    A Domain for variables whose Tensor1 value has length matching the size of a DiscreteDomain.

  213. class VectorDomainCubbie extends util.Cubbie

    A Cubbie for serializing a VectorDomain.

  214. trait VectorVar extends TensorVar

    An abstract variable whose value is a one-dimensional Tensor whose length matches the size of a DiscreteDomain.

  215. abstract class VectorVariable extends MutableTensorVar with VectorVar

    A concrete variable whose value is a one-dimensional Tensor whose length matches the size of a DiscreteDomain.

  216. class WeakSetVariable[A <: AnyRef { def present: Boolean }] extends Var

    A variable whose value is a set of elements of type A, but here we keep only weak references to the elements, so that if no external references are kept, the element may be garbage collected.

Value Members

  1. object AssignmentIterator

    Allows an iterator over the assignments to the neighbors of a factor (optionally specifying the variables that should vary)

  2. object BooleanDomain extends BooleanDomain

  3. object BooleanValue extends Serializable

  4. object CategoricalDomain

  5. object DoubleDomain extends DoubleDomain

    The domain of DoubleVariables.

  6. object FalseValue extends BooleanValue

  7. object GlobalAssignment extends Assignment

    An Assignment whose values are those stored inside the variables themselves.

  8. object HammingLoss extends HammingLossTemplate[LabeledVar]

  9. object HammingObjective extends HammingTemplate[LabeledVar]

  10. object HashFeatureVectorVariable

    Functions used inside HashFeatureVectorVariable, also available here for outside use.

  11. object IntegerDomain extends IntegerDomain

  12. object MassesVariable

    Convenience methods for constructing MassesVariables with a Masses1 of various types.

  13. object MaximizeDiscrete extends Maximize[Iterable[MutableDiscreteVar], model.Model]

  14. object MaximizeProportions extends Maximize[Iterable[ProportionsVariable], DirectedModel]

  15. object Proportions extends Serializable

  16. object ProportionsVariable

  17. object RealDiscreteDomain extends DiscreteDomain

    A DiscreteDomain that provides the dimensionDomain for RealDomain, which is a DiscreteDomain for holding a singleton Tensor holding a single real (Double) value.

  18. object RealDomain extends RealDomain

    The domain object used by RealVar.

  19. object StringDomain extends StringDomain

  20. object TargetAssignment extends Assignment

    For LabeledVar return the targetValue, otherwise return the current global assignment.

  21. object TensorVariable

    Convenience methods for constructing TensorVariables with a Tensor1 of various types.

  22. object TrueValue extends BooleanValue

  23. object Vars

    Convenient methods for creating Vars objects.

Ungrouped