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

org.gecode.Branching Class Reference
[Programming actors]

Inherits org.gecode.JavaBranching.

Inherited by examples.Naive.

List of all members.


Detailed Description

Base class for programming Branchings.

Definition at line 35 of file Branching.java.

Public Member Functions

 Branching ()
void dispose (Space home)
final void dispose_internal (JavaSpace home)
 Deallocate.
Branching copy (Space home, boolean share)
 Calls the copy-constructor of the current class.
JavaBranching copy_internal (JavaSpace home, boolean share)
 Create a copy of this branching in newHome.
abstract boolean status (Space home)
final boolean status_internal (JavaSpace home)
 Return if this branching has alternatives left.
abstract ExecStatus commit (Space home, JavaBranchingDesc d, long a)
final ExecStatus commit_internal (JavaSpace home, JavaBranchingDesc d, long a)
 Commit to alternative a with branching description desc.
abstract JavaBranchingDesc description (Space home)
final JavaBranchingDesc description_internal (JavaSpace home)
 Return a branching description.


Constructor & Destructor Documentation

org.gecode.Branching.Branching (  ) 

Definition at line 38 of file Branching.java.


Member Function Documentation

void org.gecode.Branching.dispose ( Space  home  ) 

Definition at line 42 of file Branching.java.

final void org.gecode.Branching.dispose_internal ( JavaSpace  home  ) 

Deallocate.

Reimplemented from org.gecode.JavaBranching.

Definition at line 44 of file Branching.java.

Branching org.gecode.Branching.copy ( Space  home,
boolean  share 
)

Calls the copy-constructor of the current class.

Definition at line 51 of file Branching.java.

JavaBranching org.gecode.Branching.copy_internal ( JavaSpace  home,
boolean  share 
)

Create a copy of this branching in newHome.

Reimplemented from org.gecode.JavaBranching.

Definition at line 83 of file Branching.java.

abstract boolean org.gecode.Branching.status ( Space  home  )  [pure virtual]

Implemented in examples.Naive.

final boolean org.gecode.Branching.status_internal ( JavaSpace  home  ) 

Return if this branching has alternatives left.

Reimplemented from org.gecode.JavaBranching.

Definition at line 98 of file Branching.java.

abstract ExecStatus org.gecode.Branching.commit ( Space  home,
JavaBranchingDesc  d,
long  a 
) [pure virtual]

Implemented in examples.Naive.

final ExecStatus org.gecode.Branching.commit_internal ( JavaSpace  home,
JavaBranchingDesc  d,
long  a 
)

Commit to alternative a with branching description desc.

Reimplemented from org.gecode.JavaBranching.

Definition at line 112 of file Branching.java.

abstract JavaBranchingDesc org.gecode.Branching.description ( Space  home  )  [pure virtual]

Implemented in examples.Naive.

final JavaBranchingDesc org.gecode.Branching.description_internal ( JavaSpace  home  ) 

Return a branching description.

Reimplemented from org.gecode.JavaBranching.

Definition at line 127 of file Branching.java.


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