instances
Class MinPotential
java.lang.Object
nenok.va.sr.SRValuation
nenok.va.sr.OSRValuation
instances.MinPotential
- All Implemented Interfaces:
- Serializable, Labeled, Predictability, Separativity, Valuation
public class MinPotential
- extends OSRValuation
- implements Separativity
Probability potential are an example of a valuation algebra and this
class offers an according implementation. It is based on the semiring
framework and allows to build two different kinds of semiring instances.
With respect to the enum type defined in this class, either probability
potentials over the arithmetic semiring or min-probability potentials
over the tropical semiring are created.
- Version:
- $LastChangedRevision: 574 $
$LastChangedDate: 2008-03-26 14:50:48 +0100 (Mi, 26 Mrz 2008) $
- Author:
- Marc Pouly
- See Also:
- Serialized Form
MinPotential
public MinPotential(FiniteVariable var,
int[] values)
- Constructor:
- Parameters:
var
- The single variable of this semiring valuation.values
- The values assigned to each configuration.
MinPotential
public MinPotential(FiniteVariable[] vars,
MinTropical[] values)
- Constructor:
- Parameters:
vars
- The variables of this semiring valuation.values
- The semiring value for each possible configuration.
MinPotential
public MinPotential(FiniteVariable[] vars,
int[] values)
- Constructor:
- Parameters:
vars
- The variables of this semiring valuation.values
- The value assigned to each configuration.
create
public SRValuation create(FiniteVariable[] vars,
Semiring[] values)
- Specified by:
create
in class SRValuation
- See Also:
SRValuation.create(nenok.va.FiniteVariable[], nenok.va.sr.Semiring[])
inverse
public Separativity inverse()
- Specified by:
inverse
in interface Separativity
- See Also:
Separativity.inverse()