- java.lang.Object
-
- org.chocosolver.memory.Except_0
-
- All Implemented Interfaces:
ICondition
public class Except_0 extends Object implements ICondition
A condition for building fake history based on the world index of the environment. If the world index differs from 0, then a fake history is build for the object.- Since:
- 24/09/2014
- Version:
- choco
- Author:
- Charles Prud'homme
-
-
Field Summary
-
Fields inherited from interface org.chocosolver.memory.ICondition
FALSE
-
-
Constructor Summary
Constructors Constructor Description Except_0()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
satisfied()
void
set(IEnvironment environment)
Set the environment of this
-
-
-
Method Detail
-
set
public void set(IEnvironment environment)
Description copied from interface:ICondition
Set the environment of this- Specified by:
set
in interfaceICondition
- Parameters:
environment
- a backtrackable environment
-
satisfied
public boolean satisfied()
- Specified by:
satisfied
in interfaceICondition
-
-