name: Context

synopsis:


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);

quick start:


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);

description:

This class is used to represent context-dependent search symbols. The search symbol is represented by the central context of a circular delay line. The context of the search symbol, left and right search symbols, is represented by the remaining entries in the circular delay line data member.

dependencies:

public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

private methods:

examples:

notes: