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

org.gecode.MemoryStop Class Reference
[Stop-objects for stopping search]

Inherits org.gecode.Stop.

List of all members.


Detailed Description

Stop-object based on memory consumption.

Definition at line 15 of file MemoryStop.java.

Public Member Functions

void delete ()
void swigReleaseOwnership ()
void swigTakeOwnership ()
 MemoryStop (long l)
 Stop if memory limit l (in bytes) is exceeded.
long limit ()
 Return current limit.
void limit (long l)
 Set current limit to l (in bytes).
boolean stop (Statistics s)
 Return true if memory limit is exceeded.

Protected Member Functions

 MemoryStop (long cPtr, boolean cMemoryOwn)
void finalize ()
void swigDirectorDisconnect ()

Static Protected Member Functions

static long getCPtr (MemoryStop obj)


Constructor & Destructor Documentation

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

Definition at line 18 of file MemoryStop.java.

org.gecode.MemoryStop.MemoryStop ( long  l  ) 

Stop if memory limit l (in bytes) is exceeded.

Definition at line 55 of file MemoryStop.java.


Member Function Documentation

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

Definition at line 23 of file MemoryStop.java.

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

Reimplemented from org.gecode.Stop.

Definition at line 27 of file MemoryStop.java.

void org.gecode.MemoryStop.delete (  ) 

Reimplemented from org.gecode.Stop.

Definition at line 31 of file MemoryStop.java.

void org.gecode.MemoryStop.swigDirectorDisconnect (  )  [protected]

Reimplemented from org.gecode.Stop.

Definition at line 40 of file MemoryStop.java.

void org.gecode.MemoryStop.swigReleaseOwnership (  ) 

Reimplemented from org.gecode.Stop.

Definition at line 45 of file MemoryStop.java.

void org.gecode.MemoryStop.swigTakeOwnership (  ) 

Reimplemented from org.gecode.Stop.

Definition at line 50 of file MemoryStop.java.

long org.gecode.MemoryStop.limit (  ) 

Return current limit.

Definition at line 60 of file MemoryStop.java.

void org.gecode.MemoryStop.limit ( long  l  ) 

Set current limit to l (in bytes).

Definition at line 64 of file MemoryStop.java.

boolean org.gecode.MemoryStop.stop ( Statistics  s  ) 

Return true if memory limit is exceeded.

Reimplemented from org.gecode.Stop.

Definition at line 68 of file MemoryStop.java.


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