managedObject Class Reference

The base class for all kinds of managed data objects. More...

#include <managedObject.h>

Inheritance diagram for managedObject:

goblinRootObject abstractMixedGraph abstractSubgraph branchNode branchNode< TArc, TFloat > branchNode< TNode, TFloat > branchNode< TVar, TFloat > branchScheme branchScheme< TArc, TFloat > branchScheme< TNode, TFloat > branchScheme< TVar, TFloat > canvasBuilder disjointFamily goblinDictionary goblinHashTable goblinMatrix goblinQueue graphRepresentation incrementalGeometry indexSet indexSet< TArc > indexSet< TNode > investigator mipFactory mipInstance nestedFamily networkSimplex

Public Types

enum  TWriteInc {
  WRITE_INCIDENCES = 1,
  NO_INCIDENCES = 0
}
enum  TConstructorOpt {
  OPT_CLONE = 128,
  OPT_SUB = 32,
  OPT_PARALLELS = 64,
  OPT_COMPLETE = 16,
  OPT_REVERSE = 8,
  OPT_MAPPINGS = 4,
  OPT_NO_LOOPS = 2
}
enum  TObjectSense {
  MAXIMIZE = 2,
  NO_OBJECTIVE = 0,
  MINIMIZE = 1
}
enum  TMethLocal {
  LOCAL_DEFAULT = -1,
  LOCAL_DISABLED = 0,
  LOCAL_OPTIMIZE = 1
}

Public Member Functions

 managedObject (goblinController &thisContext=goblinDefaultContext, TOption options=0) throw ()
virtual ~managedObject () throw ()
unsigned long Allocated () const throw ()
goblinControllerContext () const throw ()
void MakeRef () const throw ()
void ReleaseRef () const throw ()
bool IsReferenced () const throw ()
virtual char * Display () const throw (ERFile,ERRejected)
bool IsUnnamed () const throw ()
const char * Label () const throw ()
void SetLabel (const char *l) throw ()
virtual void ExportToXFig (const char *fileName) const throw (ERFile,ERRejected)
virtual void ExportToTk (const char *fileName) const throw (ERFile,ERRejected)
virtual void ExportToDot (const char *fileName) const throw (ERFile,ERRejected)
virtual void ExportToAscii (const char *fileName, TOption format=0) const throw (ERFile,ERRejected)
void LogEntry (msgType msg, char *logEntry) const throw ()
THandle LogStart (msgType msg, char *logEntry) const throw ()
void LogAppend (THandle LH, char *logEntry) const throw ()
void LogEnd (THandle LH, char *logEntry=NULL) const throw ()
void Error (msgType msg, char *methodName, char *description) const throw (ERRange,ERRejected,ERCheck,ERFile,ERParse)
void Warning (char *methodName, char *description) const throw ()
void NoSuchNode (char *methodName, TNode) const throw (ERRange)
void NoMoreArcs (char *methodName, TNode) const throw (ERRejected)
void NoSuchArc (char *methodName, TArc) const throw (ERRange)
void CancelledArc (char *methodName, TArc) const throw (ERRejected)
void NoSuchHandle (char *methodName, THandle) const throw (ERRejected)
void NoSuchItem (char *methodName, unsigned long) const throw (ERRange)
void NoSuchItem (char *methodName, unsigned short) const throw (ERRange)
void NoSuchIndex (char *methodName, unsigned long) const throw (ERRange)
void NoSuchIndex (char *methodName, unsigned short) const throw (ERRange)
void NoSuchCoordinate (char *methodName, TDim) const throw (ERRange)
void UnknownOption (char *methodName, int) const throw (ERRejected)
void AmountOutOfRange (char *methodName, TFloat) const throw (ERRejected)
void NoRepresentation (char *methodName) const throw (ERRejected)
void NoSparseRepresentation (char *methodName) const throw (ERRejected)
void OpenFold () const throw (ERRejected)
void CloseFold () const throw (ERRejected)

Protected Attributes

goblinControllerCT

Detailed Description

The base class for all kinds of managed data objects.


Member Enumeration Documentation

enum TConstructorOpt
 

Enumerator:
OPT_CLONE 
OPT_SUB 
OPT_PARALLELS 
OPT_COMPLETE 
OPT_REVERSE 
OPT_MAPPINGS 
OPT_NO_LOOPS 

enum TMethLocal
 

Alternative options for the local search procedures.

Enumerator:
LOCAL_DEFAULT  Apply the default method set in goblinController::methLocal.
LOCAL_DISABLED  Do not apply post optimization procedures.
LOCAL_OPTIMIZE  Apply certain post optimization procedures.

enum TObjectSense
 

Enumerator:
MAXIMIZE 
NO_OBJECTIVE 
MINIMIZE 

enum TWriteInc
 

Enumerator:
WRITE_INCIDENCES 
NO_INCIDENCES 


Constructor & Destructor Documentation

managedObject goblinController thisContext = goblinDefaultContext,
TOption  options = 0
throw ()
 

~managedObject  )  throw () [virtual]
 


Member Function Documentation

unsigned long Allocated  )  const throw ()
 

Reimplemented in abstractBalancedFNW, abstractBiGraph, abstractDiGraph, abstractGraph, abstractMixedGraph, iGraph, abstractSubgraph, layeredAuxNetwork, iLayeredAuxNetwork, balancedFNW, balancedToBalanced, basicHeap, bigraphToDigraph, binaryHeap, branchAsyTSP, branchColour, branchMaxCut, branchMIP, branchNode, branchScheme, branchStable, branchSymmTSP, canvasBuilder, complementarySubgraph, denseBiGraph, denseDiGraph, denseGraph, denseRepresentation, goblinDictionary, digraphToDigraph, disjointFamily, dynamicQueue, dynamicStack, exportToDot, exportToTk, exportToXFig, fibonacciHeap, glpkWrapper, graphRepresentation, graphToBalanced, goblinHashTable, mipInstance, incrementalGeometry, goblinLPSolver, goblinMatrix, denseMatrix, mixedGraph, nestedFamily, sequentialQueueAdapter, sequentialStackAdapter, layeredShrNetwork, sparseBiGraph, sparseDiGraph, sparseGraph, sparseRepresentation, staticQueue, staticStack, subgraph, surfaceGraph, iSurfaceGraph, branchNode< TNode, TFloat >, branchNode< TVar, TFloat >, branchNode< TArc, TFloat >, branchScheme< TNode, TFloat >, branchScheme< TVar, TFloat >, branchScheme< TArc, TFloat >, goblinDictionary< TRestr >, goblinDictionary< TVar >, disjointFamily< TNode >, dynamicStack< TNode >, goblinHashTable< TItem, TCoeff >, goblinHashTable< TIndex, TFloat >, goblinHashTable< TArc, TFloat >, goblinHashTable< TArc, TArc >, goblinMatrix< TIndex, TFloat >, denseMatrix< TIndex, TFloat >, nestedFamily< TNode >, staticQueue< TNode >, staticQueue< TArc >, and staticStack< TNode >.

void AmountOutOfRange char *  methodName,
TFloat 
const throw (ERRejected)
 

void CancelledArc char *  methodName,
TArc 
const throw (ERRejected)
 

void CloseFold  )  const throw (ERRejected)
 

goblinController& Context  )  const throw ()
 

char * Display  )  const throw (ERFile,ERRejected) [virtual]
 

Unconditional display of data objects.

Implements goblinRootObject.

Reimplemented in abstractMixedGraph, basicHeap, binaryHeap, goblinDictionary, disjointFamily, dynamicQueue, dynamicStack, fibonacciHeap, goblinHashTable, mipInstance, incrementalGeometry, indexSet, goblinMatrix, nestedFamily, sequentialQueueAdapter, sequentialStackAdapter, staticQueue, staticStack, goblinDictionary< TRestr >, goblinDictionary< TVar >, disjointFamily< TNode >, dynamicStack< TNode >, goblinHashTable< TItem, TCoeff >, goblinHashTable< TIndex, TFloat >, goblinHashTable< TArc, TFloat >, goblinHashTable< TArc, TArc >, indexSet< TNode >, indexSet< TArc >, goblinMatrix< TIndex, TFloat >, nestedFamily< TNode >, staticQueue< TNode >, staticQueue< TArc >, and staticStack< TNode >.

void Error msgType  msg,
char *  methodName,
char *  description
const throw (ERRange,ERRejected,ERCheck,ERFile,ERParse)
 

bool IsReferenced  )  const throw ()
 

bool IsUnnamed  )  const throw ()
 

const char * Label  )  const throw () [virtual]
 

Implements goblinRootObject.

void LogAppend THandle  LH,
char *  logEntry
const throw ()
 

void LogEnd THandle  LH,
char *  logEntry = NULL
const throw ()
 

void LogEntry msgType  msg,
char *  logEntry
const throw ()
 

THandle LogStart msgType  msg,
char *  logEntry
const throw ()
 

void MakeRef  )  const throw ()
 

void NoMoreArcs char *  methodName,
TNode 
const throw (ERRejected)
 

void NoRepresentation char *  methodName  )  const throw (ERRejected)
 

void NoSparseRepresentation char *  methodName  )  const throw (ERRejected)
 

void NoSuchArc char *  methodName,
TArc 
const throw (ERRange)
 

void NoSuchCoordinate char *  methodName,
TDim 
const throw (ERRange)
 

void NoSuchHandle char *  methodName,
THandle 
const throw (ERRejected)
 

void NoSuchIndex char *  methodName,
unsigned  short
const throw (ERRange)
 

void NoSuchIndex char *  methodName,
unsigned  long
const throw (ERRange)
 

void NoSuchItem char *  methodName,
unsigned  short
const throw (ERRange)
 

void NoSuchItem char *  methodName,
unsigned  long
const throw (ERRange)
 

void NoSuchNode char *  methodName,
TNode 
const throw (ERRange)
 

void OpenFold  )  const throw (ERRejected)
 

void ReleaseRef  )  const throw ()
 

void SetLabel const char *  l  )  throw ()
 

void UnknownOption char *  methodName,
int 
const throw (ERRejected)
 

void Warning char *  methodName,
char *  description
const throw ()
 


Field Documentation

goblinController& CT [protected]