choco.kernel.model.constraints.automaton.FA.utils
Class CounterState

java.lang.Object
  extended by choco.kernel.model.constraints.automaton.FA.utils.CounterState
All Implemented Interfaces:
ICounter

public class CounterState
extends Object
implements ICounter

Created by IntelliJ IDEA. User: julien Date: Nov 24, 2010 Time: 10:37:53 AM


Constructor Summary
CounterState(int[][][] layer_value_state, int min, int max)
           
 
Method Summary
 Bounds bounds()
           
 double cost(int layer, int value)
           
 double cost(int layer, int value, int state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CounterState

public CounterState(int[][][] layer_value_state,
                    int min,
                    int max)
Method Detail

bounds

public Bounds bounds()
Specified by:
bounds in interface ICounter

cost

public double cost(int layer,
                   int value)
Specified by:
cost in interface ICounter

cost

public double cost(int layer,
                   int value,
                   int state)
Specified by:
cost in interface ICounter


Copyright © 2012. All Rights Reserved.