Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Related Pages

ConstraintNetStruct Struct Reference
[Constraintnet - maintainance of constraint nets]

#include <constraintnet.h>

Collaboration diagram for ConstraintNetStruct:

Collaboration graph
[legend]

Detailed Description

The constraint net.

Definition at line 44 of file constraintnet.h.

Data Fields

ScoreCache cache
Vector edges
int evalBinary
int evalUnary
String id
Array isBuilt
LexemGraph lexemgraph
Vector lvTotals
Vector nodes
List parses
Agenda searchagenda
int statUnary
int totalNumberOfValues
Vector values


Field Documentation

ScoreCache ConstraintNetStruct::cache
 

Holds the cache used to hold the results of binary constraint evaluations. (This cache only exists if scUseCache was set when creating the net.) Definition at line 62 of file constraintnet.h.

Referenced by cnBuildFinal(), cnBuildInit(), cnDelete(), cnPrintInfo(), cnRenew(), comCompareAllLvPairs(), comCompareWithContext(), and evalBinary().

Vector ConstraintNetStruct::edges
 

Vector of ConstraintEdge Definition at line 53 of file constraintnet.h.

Referenced by cmdEdges(), cnBuildEdges(), cnBuildFinal(), cnBuildInit(), cnDelete(), cnPrint(), and cnPrintInfo().

int ConstraintNetStruct::evalBinary
 

Counting binary evaluations Definition at line 68 of file constraintnet.h.

Referenced by cnBuildInit(), cnPrintInfo(), evalBinaryConstraint(), and evalConstraint().

int ConstraintNetStruct::evalUnary
 

Counting unary evaluations Definition at line 66 of file constraintnet.h.

Referenced by cnBuildInit(), cnPrintInfo(), evalConstraint(), and evalUnaryConstraint().

String ConstraintNetStruct::id
 

A unique identifier for the net. Each net created by the system is labeled as net n, where n is the current value of cnCounter. Definition at line 45 of file constraintnet.h.

Referenced by cmdEdges(), cmdNetsearch(), cmdNewnet(), cmdWriteAnno(), cnBuildInit(), cnDelete(), cnPrint(), cnPrintInfo(), and comApprove().

Array ConstraintNetStruct::isBuilt
 

have LVs for wordx-->wordy been built? Definition at line 54 of file constraintnet.h.

Referenced by cnBuildFinal(), cnBuildInit(), cnBuildNodes(), and cnBuildTriple().

LexemGraph ConstraintNetStruct::lexemgraph
 

Points to the enriched word graph used in constructing the net. Definition at line 49 of file constraintnet.h.

Referenced by cmdDistance(), cnBuildEdges(), cnBuildFinal(), cnBuildIter(), cnBuildLevelValues(), cnBuildNodes(), cnBuildTriple(), cnDelete(), cnGetGraphemNodeFromArc(), cnGetLattice(), cnOptimizeNode(), cnPrint(), cnPrintActiveLVs(), cnPrintInfo(), cnRenew(), and cnTag().

Vector ConstraintNetStruct::lvTotals
 

Records how many LVs the net contained at each successive step in its history. This is only used by incrementalcompletion. Definition at line 69 of file constraintnet.h.

Referenced by cnBuildInit(), and cnDelete().

Vector ConstraintNetStruct::nodes
 

Vector of ConstraintNode Definition at line 52 of file constraintnet.h.

Referenced by cmdEdges(), cnBuildEdges(), cnBuildFinal(), cnBuildInit(), cnBuildIter(), cnBuildNodes(), cnBuildTriple(), cnBuildUpdateArcs(), cnDelete(), cnFindNode(), cnOptimizeNet(), cnPrint(), cnPrintActiveLVs(), cnPrintInfo(), cnRenew(), cnSortLVs(), cnSortNodes(), and comCompareNets().

List ConstraintNetStruct::parses
 

Contains all structures of type Parse found by any solution method. Definition at line 60 of file constraintnet.h.

Referenced by cmdNetsearch(), cmdPrintParses(), cmdWriteAnno(), cmdWriteParses(), cnBuildInit(), cnDelete(), cnPrint(), cnPrintParses(), and cnRenew().

Agenda ConstraintNetStruct::searchagenda
 

Agenda for searching, it is used by netsearch() Definition at line 55 of file constraintnet.h.

Referenced by cnBuildInit(), and cnDelete().

int ConstraintNetStruct::statUnary
 

Counting unary statistics Definition at line 67 of file constraintnet.h.

Referenced by cnBuildInit(), and cnPrintInfo().

int ConstraintNetStruct::totalNumberOfValues
 

Holds the total number of LVs in the constraint net. It should always be equal to vectorSize(net->values). Definition at line 57 of file constraintnet.h.

Referenced by cnBuildInit(), and cnBuildLv().

Vector ConstraintNetStruct::values
 

Vector of LevelValues Definition at line 51 of file constraintnet.h.

Referenced by cnBuildFinal(), cnBuildInit(), cnBuildLv(), cnBuildNodes(), cnDelete(), cnDeleteAllLVs(), cnPrintActiveLVs(), cnRenew(), cnUndeleteAllLVs(), comCompareAllLvPairs(), comCompareAllLvs(), comCompareNets(), comCompareWithContext(), comFindComparableLv(), and countValidValues().


The documentation for this struct was generated from the following file:
CDG 0.95 (20 Oct 2004)