Generated on Thu Nov 2 14:49:41 2006 for Gecode/J by doxygen 1.5.0

org.gecode.JavaBranchingDesc Class Reference
[Programming actors]

List of all members.

Detailed Description

Description of a branching to be used for batch recomputation.

These branching descriptions are returned by branchings. They contain information about which variable was chosen (its index in an array) and which value was chosen.

Definition at line 18 of file JavaBranchingDesc.java.

Public Member Functions

void delete ()
 JavaBranchingDesc (int pos, int val)
 Construct branching description storing the position of the chosen variable and the chosen value.
int pos ()
 Return position of the chosen variable.
int val ()
 Return chosen value.

Protected Member Functions

 JavaBranchingDesc (long cPtr, boolean cMemoryOwn)
void finalize ()

Static Protected Member Functions

static long getCPtr (JavaBranchingDesc obj)

Protected Attributes

boolean swigCMemOwn


Constructor & Destructor Documentation

org.gecode.JavaBranchingDesc.JavaBranchingDesc ( long  cPtr,
boolean  cMemoryOwn 
) [protected]

Definition at line 22 of file JavaBranchingDesc.java.

org.gecode.JavaBranchingDesc.JavaBranchingDesc ( int  pos,
int  val 
)

Construct branching description storing the position of the chosen variable and the chosen value.

Definition at line 46 of file JavaBranchingDesc.java.


Member Function Documentation

static long org.gecode.JavaBranchingDesc.getCPtr ( JavaBranchingDesc  obj  )  [static, protected]

Definition at line 27 of file JavaBranchingDesc.java.

void org.gecode.JavaBranchingDesc.finalize (  )  [protected]

Definition at line 31 of file JavaBranchingDesc.java.

void org.gecode.JavaBranchingDesc.delete (  ) 

Definition at line 35 of file JavaBranchingDesc.java.

int org.gecode.JavaBranchingDesc.pos (  ) 

Return position of the chosen variable.

Definition at line 52 of file JavaBranchingDesc.java.

int org.gecode.JavaBranchingDesc.val (  ) 

Return chosen value.

Definition at line 58 of file JavaBranchingDesc.java.


Member Data Documentation

Definition at line 20 of file JavaBranchingDesc.java.


The documentation for this class was generated from the following file: