Enum NoExplanationEngine
- java.lang.Object
-
- java.lang.Enum<NoExplanationEngine>
-
- org.chocosolver.solver.explanations.NoExplanationEngine
-
- All Implemented Interfaces:
Serializable,Comparable<NoExplanationEngine>,IExplanationEngine
public enum NoExplanationEngine extends Enum<NoExplanationEngine> implements IExplanationEngine
Fake explanation engine.- Since:
- 22/03/2016
- Author:
- Charles Prud'homme
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SINGLETON
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NoExplanationEnginevalueOf(String name)Returns the enum constant of this type with the specified name.static NoExplanationEngine[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.chocosolver.solver.explanations.IExplanationEngine
activePropagator, explain, freeDecisionExplanation, getDecisionRefutationExplanation, getEventStore, getRuleStore, instantiateTo, isSaveCauses, makeExplanation, moveDecisionRefutation, removeValue, storeDecisionExplanation, undo, updateLowerBound, updateUpperBound
-
-
-
-
Enum Constant Detail
-
SINGLETON
public static final NoExplanationEngine SINGLETON
-
-
Method Detail
-
values
public static NoExplanationEngine[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NoExplanationEngine c : NoExplanationEngine.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NoExplanationEngine valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-