choco.cp.solver.constraints.global.geost
Class Constants

java.lang.Object
  extended by choco.cp.solver.constraints.global.geost.Constants
All Implemented Interfaces:
Serializable

public final class Constants
extends Object
implements Serializable

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).

See Also:
Serialized Form

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

nbOfUpdates

public int nbOfUpdates

INBOX

public static final int INBOX
INBOX is a constant that specifies the id of the inbox constraint. So when declaring an internal constraint that is an inbox constraint we provide the value Constants.INBOX as ictrID.

See Also:
Constant Field Values

OUTBOX

public static final int OUTBOX
OUTBOX is a constant that specifies the id of the outbox constraint. So when declaring an internal constraint that is an outbox constraint we provide the value Constants.OUTBOX as ictrID.

See Also:
Constant Field Values

AVOID_HOLES

public static final int AVOID_HOLES
AVOID_HOLES is a constant that specifies the id of the avoid_holes constraint. So when declaring an internal constraint that is an avoid_holes constraint we provide the value Constants.AVOID_HOLES as ictrID.

See Also:
Constant Field Values

FORBID_REGION

public static final int FORBID_REGION
FORBID_REGION is a constant that specifies the id of a forbidden region internal constraint. So when declaring an internal constraint corresponding to a constraint using a forbidden region, we provide the value Constants.FORBID_REGION as ictrID.

See Also:
Constant Field Values

DIST_LEQ_FR

public static final int DIST_LEQ_FR
DIST_LEQ_FR is a constant that specifies the id of a dist_leq internal constraint. So when declaring an internal constraint corresponding to a constraint using a dist_leq forbidden region, we provide the value Constants.DIST_LEQ_FR as ictrID.

See Also:
Constant Field Values

DIST_GEQ_FR

public static final int DIST_GEQ_FR
DIST_GEQ_FR is a constant that specifies the id of a dist_leq internal constraint. So when declaring an internal constraint corresponding to a constraint using a dist_leq forbidden region, we provide the value Constants.DIST_GEQ_FR as ictrID.

See Also:
Constant Field Values

DIST_LINEAR_FR

public static final int DIST_LINEAR_FR
DIST_LINEAR_FR is a constant that specifies the id of a linear internal constraint. So when declaring an internal constraint corresponding to a constraint using a lienar forbidden region, we provide the value Constants.LINEAR_FR as ictrID.

See Also:
Constant Field Values

COMPATIBLE

public static final int COMPATIBLE
COMPATIBLE is a constant that specifies the id of the compatible constraint. So when declaring an external constraint that is a compatible constraint we provide the value Constants.COMPATIBLE as ectrID.

See Also:
Constant Field Values

INCLUDED

public static final int INCLUDED
INCLUDED is a constant that specifies the id of the included constraint. So when declaring an external constraint that is an included constraint we provide the value Constants.INCLUDED as ectrID.

See Also:
Constant Field Values

NON_OVERLAPPING

public static final int NON_OVERLAPPING
NON_OVERLAPPING is a constant that specifies the id of the non_overlapping constraint. So when declaring an external constraint that is a non_overlapping constraint we provide the value Constants.NON_OVERLAPPING as ectrID.

See Also:
Constant Field Values

VISIBLE

public static final int VISIBLE
VISIBLE is a constant that specifies the id of the visible constraint. So when declaring an external constraint that is a visible constraint we provide the value Constants.VISIBLE as ectrID.

See Also:
Constant Field Values

DIST_LEQ

public static final int DIST_LEQ
DIST_LEQ is a constant that specifies the id of the distance constraint. So when declaring an external constraint that is a <= distance constraint we provide the value Constants.DIST_LEQ as ectrID.

See Also:
Constant Field Values

DIST_GEQ

public static final int DIST_GEQ
DIST_GEQ is a constant that specifies the id of the distance constraint. So when declaring an external constraint that is a <= distance constraint we provide the value Constants.DIST_LEQ as ectrID.

See Also:
Constant Field Values

DIST_LINEAR

public static final int DIST_LINEAR
DIST_LINEAR is a constant that specifies the id of the linear constraint. So when declaring an external constraint that is a linear distance constraint we provide the value Constants.DIST_LINEAR as ectrID.

See Also:
Constant Field Values

NON_OVERLAPPING_CIRCLE

public static final int NON_OVERLAPPING_CIRCLE
NON_OVERLAPPING_CIRCLE is a constant that specifies the id of the linear constraint. So when declaring an external constraint that is a linear distance constraint we provide the value Constants.DIST_LINEAR as ectrID.

See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()
Method Detail

setDIM

public void setDIM(int d)

getDIM

public int getDIM()

getINPUT_FILE_PATH

public String getINPUT_FILE_PATH()

getRUN_MODE

public int getRUN_MODE()

setINPUT_FILE_PATH

public void setINPUT_FILE_PATH(String input_file_path)

setRUN_MODE

public void setRUN_MODE(int run_mode)

getVRML_OUTPUT_FOLDER

public String getVRML_OUTPUT_FOLDER()

setVRML_OUTPUT_FOLDER

public void setVRML_OUTPUT_FOLDER(String vrml_output_folder)

getOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_READ_BY_HUMANS

public String getOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_READ_BY_HUMANS()

getOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_USED_AS_INPUT

public String getOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_USED_AS_INPUT()

setOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_READ_BY_HUMANS

public void setOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_READ_BY_HUMANS(String output_of_random_gen_prob_to_be_read_by_humans)

setOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_USED_AS_INPUT

public void setOUTPUT_OF_RANDOM_GEN_PROB_TO_BE_USED_AS_INPUT(String output_of_random_gen_prob_to_be_used_as_input)


Copyright © 2012. All Rights Reserved.