instances
Class Indicator

java.lang.Object
  extended by nenok.va.sr.SRValuation
      extended by nenok.va.sr.OSRValuation
          extended by instances.Indicator
All Implemented Interfaces:
Serializable, Labeled, Idempotency, Predictability, Scalability, Separativity, Valuation

public class Indicator
extends OSRValuation
implements Idempotency

Implementation of the valuation algebra that is induced by the Boolean semiring.

Version:
$LastChangedRevision: 574 $
$LastChangedDate: 2008-03-26 14:50:48 +0100 (Mi, 26 Mrz 2008) $
Author:
Marc Pouly
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class nenok.va.sr.SRValuation
SRValuation.SRPredictor
 
Nested classes/interfaces inherited from interface nenok.va.Idempotency
Idempotency.Implementor
 
Nested classes/interfaces inherited from interface nenok.va.Predictability
Predictability.Implementor
 
Field Summary
 
Fields inherited from class nenok.va.sr.SRValuation
values, variables
 
Constructor Summary
Indicator(FiniteVariable[] vars, boolean[] values)
          Constructor:
Indicator(FiniteVariable[] vars, Boolean[] values)
          Constructor:
Indicator(FiniteVariable[] vars, int[] values)
          Constructor:
 
Method Summary
 SRValuation create(FiniteVariable[] vars, Semiring[] values)
           
 Separativity inverse()
           
 Scalability scale()
           
 
Methods inherited from class nenok.va.sr.OSRValuation
displayExtension, getExtension, getSolutionConfiguration, marginalize
 
Methods inherited from class nenok.va.sr.SRValuation
combine, equals, evaluate, getValues, getVariables, label, predictor, toString, weight
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface nenok.va.Valuation
combine, marginalize, weight
 
Methods inherited from interface nenok.adapt.Labeled
label
 

Constructor Detail

Indicator

public Indicator(FiniteVariable[] vars,
                 Boolean[] values)
Constructor:

Parameters:
vars - The variables of this semiring valuation.
values - The semiring value for each possible configuration.

Indicator

public Indicator(FiniteVariable[] vars,
                 boolean[] values)
Constructor:

Parameters:
vars - The variables of this semiring valuation.
values - The boolean constant assigned to each configuration.

Indicator

public Indicator(FiniteVariable[] vars,
                 int[] values)
Constructor:

Parameters:
vars - The variables of this semiring valuation.
values - The integer (0 or 1) assigned to each configuration.
Method Detail

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()

scale

public Scalability scale()
Specified by:
scale in interface Scalability
See Also:
Scalability.scale()