RealAtomInstance Struct Reference
[Compiler]

#include <instance_types.h>

Collaboration diagram for RealAtomInstance:

Collaboration graph
[legend]

Detailed Description

The RealAtomInstance should be reimplemented with a number of supported attributes (bounds, nominal, several boolean flags) and then an explicit pointer to the child space since children are expected to be rare. Making this pointer explicit will allow the real atoms (of which there are a lot) to be pooled and save a fair amount of memory on large problems.

aligns to 8 byte boundaries on 4 or 8 byte machines. size 56/96


Data Fields

enum inst_t t
VOIDPTR interface_ptr
gl_list_tparents
Instancealike_ptr
TypeDescriptiondesc
unsigned long visited
unsigned long tmp_num
unsigned int anon_flags
double value
CONST dim_typedimen
gl_list_trelations
unsigned int assigned
unsigned int depth


Field Documentation

struct gl_list_t* RealAtomInstance::parents

link to parents

struct Instance* RealAtomInstance::alike_ptr

circular linked list of clique members

struct TypeDescription* RealAtomInstance::desc

list of children pointers

unsigned long RealAtomInstance::visited

visited counter

unsigned long RealAtomInstance::tmp_num

used when an instance tree is being copied

unsigned int RealAtomInstance::anon_flags

anonymous field to be manipulated

double RealAtomInstance::value

value of real variable

CONST dim_type* RealAtomInstance::dimen

dimensions

struct gl_list_t* RealAtomInstance::relations

relations where this real appears

unsigned int RealAtomInstance::assigned

the number of times it has been assigned

unsigned int RealAtomInstance::depth

the depth of the last assignment


The documentation for this struct was generated from the following file:
Generated on Thu Jul 17 04:01:00 2008 for libascend by  doxygen 1.5.1