LabelType
- NodeNameType
- public interface NodeNameAwareEnergyFunction<LabelType,NodeNameType> extends EnergyFunction<LabelType>
Modifier and Type | Method and Description |
---|---|
java.util.Map<LabelType,java.lang.Double> |
getBeliefs(NodeNameType node,
EnergyFunctionSolver<LabelType> bp)
Get the probabilities for each label for the input node as produced by
the input belief propagation run.
|
void |
setLabel(NodeNameType node,
LabelType label)
Set the label for the input node
|
getEdge, getPairwiseCost, getPairwisePotential, getPossibleLabels, getUnaryCost, getUnaryPotential, numEdges, numNodes
void setLabel(NodeNameType node, LabelType label)
node
- label
- java.util.Map<LabelType,java.lang.Double> getBeliefs(NodeNameType node, EnergyFunctionSolver<LabelType> bp)
node
- bp
-