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

ScoreCacheStruct Struct Reference
[Scache - Cache structures for binary LV scores]

#include <scache.h>

Collaboration diagram for ScoreCacheStruct:

Collaboration graph
[legend]

Detailed Description

This structure administers a score for each pair of LVs in a constraint net.

Definition at line 34 of file scache.h.

Data Fields

int capacity
int count
Number * data
int hits
int size


Field Documentation

int ScoreCacheStruct::capacity
 

currently available capacity Definition at line 40 of file scache.h.

Referenced by cnPrintInfo(), scNew(), and scSetScore().

int ScoreCacheStruct::count
 

holds the total number of LVs registered in the cache Definition at line 37 of file scache.h.

Referenced by scNew(), and scSetScore().

Number* ScoreCacheStruct::data
 

points to the underlying vector of Numbers Definition at line 41 of file scache.h.

Referenced by scDelete(), scGetScore(), scNew(), and scSetScore().

int ScoreCacheStruct::hits
 

holds the number of successful requests to the cache. Definition at line 35 of file scache.h.

Referenced by cnPrintInfo(), scGetScore(), and scNew().

int ScoreCacheStruct::size
 

maximum used capacity Definition at line 39 of file scache.h.

Referenced by cnPrintInfo(), scGetScore(), scNew(), and scSetScore().


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