choco.kernel.model.constraints.automaton.FA.utils
Class Counter
java.lang.Object
choco.kernel.model.constraints.automaton.FA.utils.Counter
- All Implemented Interfaces:
- ICounter
public class Counter
- extends Object
- implements ICounter
Created by IntelliJ IDEA.
User: julien
Date: Nov 24, 2010
Time: 10:24:53 AM
Constructor Summary |
Counter(int[][][] layer_value_state,
int inf,
int sup)
|
Counter(int[][] layer_value,
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 |
Counter
public Counter(int[][] layer_value,
int min,
int max)
Counter
public Counter(int[][][] layer_value_state,
int inf,
int sup)
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.