quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_search_a #include <Context.h> GVSnode* getCentralVertex(); GVSnode* getBeforeCentralVertex(); GVSnode* getAfterCentralVertex(); GVSnode* getLastVertex(); boolean convert(); boolean convert(Context*& output, boolean extended = false); boolean fold(); boolean extend(GVSnode* pointer_to_vertex);
description:long central_position = 1; long total_context_length = 3; GraphVertex* left_vertex; GraphVertex * central_vertex; GraphVertex * right_vertex; Context triphone_context(total_context_length, central_position); triphone_context.assignAndAdvance((ulong)left_vertex); triphone_context.assignAndAdvance((ulong)central_vertex); triphone_context.assignAndAdvance((ulong)right_vertex);
static const String CLASS_NAME;
static const String PARAM_CENTRAL;
static const String PARAM_EXTENSION_LENGTH;
static const long DEF_LENGTH = 1;
static const long DEF_CENTRAL_INDEX = 1;
static const long DEF_LAST_LENGTH = -1;
static const long DEF_EXTENSION_LENGTH = 0;
static const long ERR = 90100;
long central_d;
long ext_length_d;
static Integral::DEBUG debug_level_d;
static MemoryManager mgr_d;
typedef GraphVertex<SearchNode> GVSnode;
static const String& name();
static boolean diagnose(Integral::DEBUG debug_level);
~Context();
Context(long context_length = DEF_LENGTH, long central_index = DEF_CENTRAL_INDEX) : CircularDelayLine<Ulong>(context_length);
Context(const Context& copy_context) : CircularDelayLine<Ulong>(copy_context.length());
boolean assign(const Context& context_cmp);
not present.
long sofSize() const;
boolean read(Sof& sof, long tag, const String& name = CLASS_NAME);
boolean write(Sof& sof, long tag, const String& name = CLASS_NAME) const;
boolean readData(Sof& sof, const String& pname = String::EMPTY, long size = SofParser::FULL_OBJECT, boolean param = true, boolean nested = false);
boolean writeData(Sof& sof, const String& pname = String::EMPTY) const;
boolean eq(const Context& context_cmp) const;
static void* operator new(size_t size);
static void* operator new[](size_t size);
static void operator delete(void* ptr);
static void operator delete[](void* ptr);
static boolean setGrowSize(long grow_size);
boolean isExtended();
GVSnode* getCentralVertex();
boolean setCentralVertex(ulong new_gvnode_a);
GVSnode* getBeforeCentralVertex();
GVSnode* getAfterCentralVertex();
GVSnode* getLastVertex();
boolean setLastVertex(ulong new_gvnode_a);
boolean print();
boolean print(String& output);
long hash(long capacity) const;
boolean convert();
boolean convert(Context*& output, boolean extended = false);
boolean fold();
boolean extend(GVSnode* pointer_to_vertex);