choco.kernel.model.constraints
Enum ConstraintType

java.lang.Object
  extended by java.lang.Enum<ConstraintType>
      extended by choco.kernel.model.constraints.ConstraintType
All Implemented Interfaces:
Serializable, Comparable<ConstraintType>

public enum ConstraintType
extends Enum<ConstraintType>

Created by IntelliJ IDEA. User: charles Date: 18 mars 2008 Time: 09:30:58 Define every type of constraint that exist in Choco API.


Enum Constant Summary
ABS
           
ALLDIFFERENT
           
AMONGSET
           
AND
           
AROUND
           
ATMOSTNVALUE
           
CHANNELING
           
CLAUSES
           
COMPLEMENTSET
           
COSTKNAPSACK
           
COSTREGULAR
           
CST
           
CUMULATIVE
           
DISJUNCTIVE
           
DISTANCE
           
DOMAIN_CHANNELING
           
EQ
           
EUCLIDEANDIVISION
           
EXACTLY
           
EXPRESSION
           
FALSE
           
FASTREGULAR
           
FORBIDDEN_INTERVALS
           
GEOST
           
GEQ
           
GLOBALCARDINALITY
           
GLOBALCARDINALITYMAX
           
GLOBALCARDINALITYVALUES
           
GLOBALCARDINALITYVAR
           
GLOBALCARDINALITYVARVALUES
           
GT
           
IFONLYIF
           
IFTHENELSE
           
IMPLIES
           
INCREASINGNVALUE
           
INCREASINGSUM
           
INTMEMBER
           
INTNOTMEMBER
           
INVERSE_SET
           
INVERSECHANNELING
           
INVERSECHANNELINGWITHINRANGE
           
ISINCLUDED
           
ISNOTINCLUDED
           
LEQ
           
LEX
           
LEXCHAIN
           
LEXEQ
           
LEXIMIN
           
LT
           
MAX
           
MEMBER
           
METATASKCONSTRAINT
           
MIN
           
MOD
           
MULTICOSTREGULAR
           
NAND
           
NEQ
           
NONE
           
NOR
           
NOT
           
NOTMEMBER
           
NTH
           
OCCURRENCE
           
OR
           
PACK
           
PRECEDENCE_DISJOINT
           
PRECEDENCE_IMPLIED
           
PRECEDENCE_REIFIED
           
REGULAR
           
REIFIEDAND
           
REIFIEDCONSTRAINT
           
REIFIEDIMPLICATION
           
REIFIEDNAND
           
REIFIEDNOR
           
REIFIEDOR
           
REIFIEDXNOR
           
REIFIEDXOR
           
SETDISJOINT
           
SETINTER
           
SETLEXICOGRAPHICORDERING
           
SETUNION
           
SETVALUEPRECEDE
           
SIGNOP
           
SOFTMULTICOSTREGULAR
           
SORTING
           
STRETCHPATH
           
TABLE
           
TIMES
           
TREE
           
TRUE
           
XNOR
           
XOR
           
 
Field Summary
 boolean canContainExpression
           
 String name
           
 String property
           
 
Method Summary
 String getName()
           
static ConstraintType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConstraintType[] 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 class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ABS

public static final ConstraintType ABS

ALLDIFFERENT

public static final ConstraintType ALLDIFFERENT

AMONGSET

public static final ConstraintType AMONGSET

AND

public static final ConstraintType AND

AROUND

public static final ConstraintType AROUND

ATMOSTNVALUE

public static final ConstraintType ATMOSTNVALUE

CHANNELING

public static final ConstraintType CHANNELING

CLAUSES

public static final ConstraintType CLAUSES

COMPLEMENTSET

public static final ConstraintType COMPLEMENTSET

CST

public static final ConstraintType CST

COSTKNAPSACK

public static final ConstraintType COSTKNAPSACK

COSTREGULAR

public static final ConstraintType COSTREGULAR

CUMULATIVE

public static final ConstraintType CUMULATIVE

DISJUNCTIVE

public static final ConstraintType DISJUNCTIVE

DISTANCE

public static final ConstraintType DISTANCE

EQ

public static final ConstraintType EQ

EUCLIDEANDIVISION

public static final ConstraintType EUCLIDEANDIVISION

EXACTLY

public static final ConstraintType EXACTLY

EXPRESSION

public static final ConstraintType EXPRESSION

FALSE

public static final ConstraintType FALSE

FASTREGULAR

public static final ConstraintType FASTREGULAR

FORBIDDEN_INTERVALS

public static final ConstraintType FORBIDDEN_INTERVALS

GEOST

public static final ConstraintType GEOST

GEQ

public static final ConstraintType GEQ

GLOBALCARDINALITY

public static final ConstraintType GLOBALCARDINALITY

GLOBALCARDINALITYMAX

public static final ConstraintType GLOBALCARDINALITYMAX

GLOBALCARDINALITYVALUES

public static final ConstraintType GLOBALCARDINALITYVALUES

GLOBALCARDINALITYVAR

public static final ConstraintType GLOBALCARDINALITYVAR

GLOBALCARDINALITYVARVALUES

public static final ConstraintType GLOBALCARDINALITYVARVALUES

GT

public static final ConstraintType GT

IFONLYIF

public static final ConstraintType IFONLYIF

IFTHENELSE

public static final ConstraintType IFTHENELSE

IMPLIES

public static final ConstraintType IMPLIES

INVERSECHANNELING

public static final ConstraintType INVERSECHANNELING

INVERSECHANNELINGWITHINRANGE

public static final ConstraintType INVERSECHANNELINGWITHINRANGE

INCREASINGNVALUE

public static final ConstraintType INCREASINGNVALUE

INCREASINGSUM

public static final ConstraintType INCREASINGSUM

DOMAIN_CHANNELING

public static final ConstraintType DOMAIN_CHANNELING

INVERSE_SET

public static final ConstraintType INVERSE_SET

ISINCLUDED

public static final ConstraintType ISINCLUDED

ISNOTINCLUDED

public static final ConstraintType ISNOTINCLUDED

LEQ

public static final ConstraintType LEQ

LEX

public static final ConstraintType LEX

LEXEQ

public static final ConstraintType LEXEQ

LEXCHAIN

public static final ConstraintType LEXCHAIN

LEXIMIN

public static final ConstraintType LEXIMIN

LT

public static final ConstraintType LT

MAX

public static final ConstraintType MAX

MEMBER

public static final ConstraintType MEMBER

INTMEMBER

public static final ConstraintType INTMEMBER

INTNOTMEMBER

public static final ConstraintType INTNOTMEMBER

MIN

public static final ConstraintType MIN

MOD

public static final ConstraintType MOD

MULTICOSTREGULAR

public static final ConstraintType MULTICOSTREGULAR

NAND

public static final ConstraintType NAND

NEQ

public static final ConstraintType NEQ

NONE

public static final ConstraintType NONE

NOT

public static final ConstraintType NOT

NOTMEMBER

public static final ConstraintType NOTMEMBER

NOR

public static final ConstraintType NOR

NTH

public static final ConstraintType NTH

OCCURRENCE

public static final ConstraintType OCCURRENCE

OR

public static final ConstraintType OR

PACK

public static final ConstraintType PACK

PRECEDENCE_REIFIED

public static final ConstraintType PRECEDENCE_REIFIED

PRECEDENCE_IMPLIED

public static final ConstraintType PRECEDENCE_IMPLIED

PRECEDENCE_DISJOINT

public static final ConstraintType PRECEDENCE_DISJOINT

REGULAR

public static final ConstraintType REGULAR

REIFIEDAND

public static final ConstraintType REIFIEDAND

REIFIEDIMPLICATION

public static final ConstraintType REIFIEDIMPLICATION

REIFIEDCONSTRAINT

public static final ConstraintType REIFIEDCONSTRAINT

REIFIEDNAND

public static final ConstraintType REIFIEDNAND

REIFIEDNOR

public static final ConstraintType REIFIEDNOR

REIFIEDOR

public static final ConstraintType REIFIEDOR

REIFIEDXNOR

public static final ConstraintType REIFIEDXNOR

REIFIEDXOR

public static final ConstraintType REIFIEDXOR

SETDISJOINT

public static final ConstraintType SETDISJOINT

SETINTER

public static final ConstraintType SETINTER

SETLEXICOGRAPHICORDERING

public static final ConstraintType SETLEXICOGRAPHICORDERING

SETUNION

public static final ConstraintType SETUNION

SETVALUEPRECEDE

public static final ConstraintType SETVALUEPRECEDE

SIGNOP

public static final ConstraintType SIGNOP

SOFTMULTICOSTREGULAR

public static final ConstraintType SOFTMULTICOSTREGULAR

SORTING

public static final ConstraintType SORTING

STRETCHPATH

public static final ConstraintType STRETCHPATH

TABLE

public static final ConstraintType TABLE

METATASKCONSTRAINT

public static final ConstraintType METATASKCONSTRAINT

TIMES

public static final ConstraintType TIMES

TREE

public static final ConstraintType TREE

TRUE

public static final ConstraintType TRUE

XNOR

public static final ConstraintType XNOR

XOR

public static final ConstraintType XOR
Field Detail

name

public final String name

property

public final String property

canContainExpression

public final boolean canContainExpression
Method Detail

values

public static ConstraintType[] 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 (ConstraintType c : ConstraintType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ConstraintType 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 name
NullPointerException - if the argument is null

getName

public final String getName()


Copyright © 2012. All Rights Reserved.