instances
Class BottlePotential

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

public class BottlePotential
extends OSRValuation
implements Idempotency

Implementation of the valuation algebra that is induced by the Bottleneck 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
BottlePotential(FiniteVariable[] vars, Bottleneck[] values)
          Constructor:
BottlePotential(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

BottlePotential

public BottlePotential(FiniteVariable[] vars,
                       Bottleneck[] values)
Constructor:

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

BottlePotential

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

Parameters:
vars - The variables of this semiring valuation.
values - The real number 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[])

scale

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

inverse

public Separativity inverse()
Specified by:
inverse in interface Separativity
See Also:
Separativity.inverse()