instances
Class MaxPotential
java.lang.Object
nenok.va.sr.SRValuation
nenok.va.sr.OSRValuation
instances.MaxPotential
- All Implemented Interfaces:
- Serializable, Labeled, Predictability, Valuation
public class MaxPotential
- extends OSRValuation
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 max-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
MaxPotential
public MaxPotential(FiniteVariable var,
int[] values)
- Constructor:
- Parameters:
var
- The single variable of this semiring valuation.values
- The values assigned to each configuration.
MaxPotential
public MaxPotential(FiniteVariable[] vars,
MaxTropical[] values)
- Constructor:
- Parameters:
vars
- The variables of this semiring valuation.values
- The semiring value for each possible configuration.
MaxPotential
public MaxPotential(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[])