|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.cp.solver.constraints.global.geost.Constants
public final class Constants
This class contains 2 important types of data. The first is a set of variables and access methods that belong to a certain instance of this class like the DIM variable representing the dimension. So to know the dimension of our problem we can just call the constants instance and ask to getDIM(). The other type of information is static information that are INTERNAL CONSTRAINTS CONTANTS REPRESENTING THE ICTR ID (Internal Constraint ID) and EXTERNAL CONSTRAINTS CONSTANTS REPRESENTING THE ECTR ID (External Constraint ID).
Field Summary | |
---|---|
static int |
AVOID_HOLES
AVOID_HOLES is a constant that specifies the id of the avoid_holes constraint. |
static int |
COMPATIBLE
COMPATIBLE is a constant that specifies the id of the compatible constraint. |
static int |
DIST_GEQ
DIST_GEQ is a constant that specifies the id of the distance constraint. |
static int |
DIST_GEQ_FR
DIST_GEQ_FR is a constant that specifies the id of a dist_leq internal constraint. |
static int |
DIST_LEQ
DIST_LEQ is a constant that specifies the id of the distance constraint. |
static int |
DIST_LEQ_FR
DIST_LEQ_FR is a constant that specifies the id of a dist_leq internal constraint. |
static int |
DIST_LINEAR
DIST_LINEAR is a constant that specifies the id of the linear constraint. |
static int |
DIST_LINEAR_FR
DIST_LINEAR_FR is a constant that specifies the id of a linear internal constraint. |
static int |
FORBID_REGION
FORBID_REGION is a constant that specifies the id of a forbidden region internal constraint. |
static int |
INBOX
INBOX is a constant that specifies the id of the inbox constraint. |
static int |
INCLUDED
INCLUDED is a constant that specifies the id of the included constraint. |
int |
nbOfUpdates
|
static int |
NON_OVERLAPPING
NON_OVERLAPPING is a constant that specifies the id of the non_overlapping constraint. |
static int |
NON_OVERLAPPING_CIRCLE
NON_OVERLAPPING_CIRCLE is a constant that specifies the id of the linear constraint. |
static int |
OUTBOX
OUTBOX is a constant that specifies the id of the outbox constraint. |
static int |
VISIBLE
VISIBLE is a constant that specifies the id of the visible constraint. |
Constructor Summary | |
---|---|
Constants()
|
Method Summary | |
---|---|
int |
getDIM()
|
String |
getINPUT_FILE_PATH()
|
String |
getOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_READ_BY_HUMANS()
|
String |
getOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_USED_AS_INPUT()
|
int |
getRUN_MODE()
|
String |
getVRML_OUTPUT_FOLDER()
|
void |
setDIM(int d)
|
void |
setINPUT_FILE_PATH(String input_file_path)
|
void |
setOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_READ_BY_HUMANS(String output_of_random_gen_prob_to_be_read_by_humans)
|
void |
setOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_USED_AS_INPUT(String output_of_random_gen_prob_to_be_used_as_input)
|
void |
setRUN_MODE(int run_mode)
|
void |
setVRML_OUTPUT_FOLDER(String vrml_output_folder)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int nbOfUpdates
public static final int INBOX
public static final int OUTBOX
public static final int AVOID_HOLES
public static final int FORBID_REGION
public static final int DIST_LEQ_FR
public static final int DIST_GEQ_FR
public static final int DIST_LINEAR_FR
public static final int COMPATIBLE
public static final int INCLUDED
public static final int NON_OVERLAPPING
public static final int VISIBLE
public static final int DIST_LEQ
public static final int DIST_GEQ
public static final int DIST_LINEAR
public static final int NON_OVERLAPPING_CIRCLE
Constructor Detail |
---|
public Constants()
Method Detail |
---|
public void setDIM(int d)
public int getDIM()
public String getINPUT_FILE_PATH()
public int getRUN_MODE()
public void setINPUT_FILE_PATH(String input_file_path)
public void setRUN_MODE(int run_mode)
public String getVRML_OUTPUT_FOLDER()
public void setVRML_OUTPUT_FOLDER(String vrml_output_folder)
public String getOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_READ_BY_HUMANS()
public String getOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_USED_AS_INPUT()
public void setOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_READ_BY_HUMANS(String output_of_random_gen_prob_to_be_read_by_humans)
public void setOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_USED_AS_INPUT(String output_of_random_gen_prob_to_be_used_as_input)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |