nenok.va.semiring
Class ScaledSRValuation

java.lang.Object
  extended by nenok.va.semiring.SRValuation
      extended by nenok.va.semiring.RegularSRValuation
          extended by nenok.va.semiring.ScaledSRValuation
All Implemented Interfaces:
Serializable, Cloneable, Predictability, Regularity, Scalability, Valuation

public class ScaledSRValuation
extends RegularSRValuation
implements Scalability

Pre-implementation for scaled semiring valuation algebras.

Version:
1.1
Author:
Marc Pouly
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface nenok.va.Scalability
Scalability.Implementor
 
Field Summary
 
Fields inherited from class nenok.va.semiring.SRValuation
configurations, elements
 
Constructor Summary
ScaledSRValuation()
          Constructor:
ScaledSRValuation(FiniteVariable[] variables, RegularElement[] elements)
          Constructor:
 
Method Summary
 Scalability scale()
          Scales the current valuation.
 
Methods inherited from class nenok.va.semiring.RegularSRValuation
inverse
 
Methods inherited from class nenok.va.semiring.SRValuation
combine, displayConfigurations, equals, label, marginalize, 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.Regularity
inverse
 
Methods inherited from interface nenok.va.Valuation
combine, label, marginalize, weight
 

Constructor Detail

ScaledSRValuation

public ScaledSRValuation()
Constructor:


ScaledSRValuation

public ScaledSRValuation(FiniteVariable[] variables,
                         RegularElement[] elements)
Constructor:

Parameters:
variables - The variables of this valuation.
elements - The semiring elements assigned to the configurations.
Method Detail

scale

public Scalability scale()
Description copied from interface: Scalability
Scales the current valuation.

Specified by:
scale in interface Scalability
Returns:
The scaled version of this valuation.
See Also:
Scalability.scale()