-
final
def
!=(arg0: AnyRef ): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
%(n: String): HammingLoss.this.type
Assign this Template a name which will be used later when its factors are printed.
Assign this Template a name which will be used later when its factors are printed.
- Definition Classes
- Family
-
final
def
==(arg0: AnyRef ): Boolean
-
final
def
==(arg0: Any): Boolean
-
-
final
def
addFactors(v: Var , result: Set[model.Factor]): Unit
Not intended to be called by users.
Not intended to be called by users. This method calls unroll and efficiently deduplicates the resulting
Factors by adding them to the result Set.
- Definition Classes
- Template2 → Template → Model
-
def
addFactors(dl: DiffList , result: Set[model.Factor]): Unit
Append to "result" all Factors in this Model that are affected by the given DiffList.
Append to "result" all Factors in this Model that are affected by the given DiffList. This method must not append duplicates.
- Definition Classes
- Model
-
def
addFactors(d: Diff , result: Set[model.Factor]): Unit
Append to "result" all Factors in this Model that are affected by the given Diff.
Append to "result" all Factors in this Model that are affected by the given Diff. This method must not append duplicates.
- Definition Classes
- Model
-
def
addFactors(variables: Iterable[Var], result: Set[model.Factor]): Unit
Append to "result" all Factors in this Model that touch any of the given "variables".
Append to "result" all Factors in this Model that touch any of the given "variables". This method must not append duplicates.
- Definition Classes
- Model
-
def
addLimitedDiscreteCurrentValuesIn12(variables: Iterable[Var]): Unit
-
final
def
asInstanceOf[T0]: T0
-
def
assignmentScore(dl: DiffList , assignment: Assignment ): Double
-
def
assignmentScore(d: Diff , assignment: Assignment ): Double
-
def
assignmentScore(vars: Iterable[Var], assignment: Assignment ): Double
-
def
assignmentScore(variable: Var , assignment: Assignment ): Double
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
-
@throws(
...
)
-
def
currentScore(dl: DiffList ): Double
-
def
currentScore(d: Diff ): Double
-
def
currentScore(vars: Iterable[Var]): Double
-
def
currentScore(variable: Var ): Double
-
def
defaultFactorName: String
-
final
def
eq(arg0: AnyRef ): Boolean
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
var
factorName: String
-
Return all Factors in this Model that touch any of the given "variables".
Return all Factors in this Model that touch any of the given "variables". The result will not have any duplicate Factors.
- Definition Classes
- Template → Model
-
Users should call this method to create and return all Factors of this Template touching the given Var.
Users should call this method to create and return all Factors of this Template touching the given Var.
- Definition Classes
- Template → Model
-
Return all Factors in this Model that are affected by the given DiffList.
Return all Factors in this Model that are affected by the given DiffList. The result will not have any duplicate Factors.
By default returns just the factors that neighbor the DiffList.variables, but this method may be overridden for special handling of the DiffList
- Definition Classes
- Model
-
Return all Factors in this Model that are affected by the given Diff.
Return all Factors in this Model that are affected by the given Diff. The result will not have any duplicate Factors.
By default returns just the factors that neighbor Diff.variable, but this method may be overridden for special handling of the Diff
- Definition Classes
- Model
-
def
factorsOfClass[F <: model.Factor ](d: DiffList )(implicit fm: ClassTag[F]): Iterable[F]
-
-
def
factorsOfClass[F <: model.Factor ](variables: Iterable[Var])(implicit fm: ClassTag[F]): Iterable[F]
-
def
factorsOfClass[F <: model.Factor ](variable: Var )(implicit fm: ClassTag[F]): Iterable[F]
-
def
factorsOfClass[F <: model.Factor ](variables: Iterable[Var], fclass: Class[F]): Iterable[F]
-
def
factorsOfClass[F <: model.Factor ](variable: Var , fclass: Class[F]): Iterable[F]
-
def
factorsOfFamilies[F <: Family ](d: DiffList , families: Seq[F]): Iterable[model.Model.factorsOfFamilies.F.Factor]
-
def
factorsOfFamilies[F <: Family ](variables: Iterable[Var], families: Seq[F]): Iterable[model.Model.factorsOfFamilies.F.Factor]
-
def
factorsOfFamilies[F <: Family ](variable: Var , families: Seq[F]): Iterable[model.Model.factorsOfFamilies.F.Factor]
-
def
factorsOfFamily[F <: Family ](d: DiffList , family: F): Iterable[model.Model.factorsOfFamily.F.Factor]
-
def
factorsOfFamily[F <: Family ](variables: Iterable[Var], family: F): Iterable[model.Model.factorsOfFamily.F.Factor]
-
def
factorsOfFamily[F <: Family ](variable: Var , family: F): Iterable[model.Model.factorsOfFamily.F.Factor]
-
def
factorsOfFamilyClass[F <: Family ](d: DiffList )(implicit fm: ClassTag[F]): Iterable[model.Model.factorsOfFamilyClass.F.Factor]
-
def
factorsOfFamilyClass[F <: Family ](d: DiffList , fclass: Class[F]): Iterable[model.Model.factorsOfFamilyClass.F.Factor]
-
def
factorsOfFamilyClass[F <: Family ](variables: Iterable[Var])(implicit fm: ClassTag[F]): Iterable[model.Model.factorsOfFamilyClass.F.Factor]
-
def
factorsOfFamilyClass[F <: Family ](variable: Var )(implicit fm: ClassTag[F]): Iterable[model.Model.factorsOfFamilyClass.F.Factor]
-
def
factorsOfFamilyClass[F <: Family ](variables: Iterable[Var], fclass: Class[F]): Iterable[model.Model.factorsOfFamilyClass.F.Factor]
-
def
factorsOfFamilyClass[F <: Family ](variable: Var , fclass: Class[F]): Iterable[model.Model.factorsOfFamilyClass.F.Factor]
-
A Factor Template has just one Factor Family: itself.
A Factor Template has just one Factor Family: itself.
- Definition Classes
- Template
-
-
def
filterByFamilies[F <: Family ](factors: Iterable[model.Factor], families: Seq[F]): Iterable[model.Model.filterByFamilies.F.Factor]
-
def
filterByFamily[F <: Family ](factors: Iterable[model.Factor], family: F): Iterable[model.Model.filterByFamily.F.Factor]
-
def
filterByFamilyClass[F <: Family ](factors: Iterable[model.Factor], fclass: Class[F]): Iterable[model.Model.filterByFamilyClass.F.Factor]
-
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
-
@throws(
classOf[java.lang.Throwable]
)
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hasLimitedDiscreteValues1: Boolean
-
def
hasLimitedDiscreteValues12: Boolean
-
def
hasLimitedDiscreteValues2: Boolean
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
-
-
-
-
-
def
limitDiscreteValuesAsIn(vars: Iterable[DiscreteVar]): Unit
Causes future calls to factor.
Causes future calls to factor.valuesIterator to limit the returned values to
those value combinations seen in the current values of the variables in factors touching "vars".
Note that this will limit the values of all DiscreteVar neighbors of the resulting factors,
not just the "vars" argument.
- Definition Classes
- Template2 → Template
-
-
-
-
final
def
ne(arg0: AnyRef ): Boolean
-
val
neighborClass1: Class[_]
-
val
neighborClass2: Class[_]
-
def
neighborClasses: Seq[Class[_]]
-
def
neighborDomain1: Domain { type Value <: cc.factorie.variable.LabeledVar#Value }
Override this if you want to matchNeighborDomains
Override this if you want to matchNeighborDomains
- Definition Classes
- Family2
-
def
neighborDomain2: Domain { type Value <: cc.factorie.variable.LabeledVar#TargetType#Value }
-
def
neighborDomains: Seq[Domain { type Value <: cc.factorie.variable.Var#Value }]
-
def
newFactorsCollection: Set[model.Factor]
The "factors" methods need a new collection to return; this method is used by them to construct this collection.
The "factors" methods need a new collection to return; this method is used by them to construct this collection.
- Definition Classes
- Model
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
score(value1: LabeledVar.Value , value2: LabeledVar.TargetType.Value): Double
-
def
scoreAndStatistics(v1: LabeledVar.Value , v2: LabeledVar.TargetType.Value): (Double, (LabeledVar.Value, LabeledVar.TargetType.Value))
-
def
setFactorName(n: String): HammingLoss.this.type
Assign this Template a name which will be used later when its factors are printed.
Assign this Template a name which will be used later when its factors are printed.
- Definition Classes
- Family
-
final
def
statistics(v1: LabeledVar.Value , v2: LabeledVar.TargetType.Value): (LabeledVar.Value, LabeledVar.TargetType.Value)
-
final
def
statisticsAreValues: Boolean
-
def
statisticsScore(tensor: Tensor ): Double
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
final
def
thisFamily: HammingLoss.this.type
- Definition Classes
- Family
- Annotations
-
@inline()
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
Implement this method to create and return all Factors of this Template touching the given Var.
Implement this method to create and return all Factors of this Template touching the given Var.
Users of the Template should not call this method directly, however, because
this method's implementation is permitted to return duplicate Factors.
Instead call factors(Var), which will deduplicate the Factors (using the helper function addFactors).
- Definition Classes
- Template2 → Template
-
-
def
unroll2(target: TargetType ): Nothing
-
def
valuesScore(t: Tensor ): Double
-
def
valuesStatistics(tensor: Tensor ): Tensor
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
-
@throws(
...
)
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
-
@throws(
...
)
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
-
@throws(
...
)