quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_sp.a #include <Recipe.h> Recipe(); Recipe(const Recipe& arg); boolean isEmpty() const; boolean readGraph(Sof& sof, long graph_tag = 0);
description:Recipe rcp; Sof sof; sof.open(L"diagnose_container.sof"); rcp.readGraph(sof);
static const String CLASS_NAME = L"Recipe";
static const String PARAM_RECIPE = L"recipe";
static const String INPUT_PREFIX = L"__input_";
static const String OUTPUT_PREFIX = L"__output_";static const String SAMPLED_DATA_NAME = L"__input_SAMPLED_DATA";static const String DUMMY_OUTPUT_NAME = L"__output_FEATURES";
static const long ERR = 80400;
static const long ERR_MPATH = 80401;
static const long ERR_NORPATH = 80402;
DiGraph<Component> recipe_d;
static Integral::DEBUG debug_level_d = Integral::NONE;
static MemoryManager mgr_d;
static const String& name();
static boolean diagnose(Integral::DEBUG debug_level);
boolean debug(const unichar* message) const;
static boolean setDebug(Integral::DEBUG debug_level);
~Recipe();
Recipe();
Recipe(const Recipe& arg);
boolean assign(const Recipe& arg);
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 = DEF_PARAM, long size = SofParser::FULL_OBJECT, boolean param = true, boolean nested = false);
boolean writeData(Sof& sof, const String& pname = DEF_PARAM) const;
boolean eq(const Recipe& arg) 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 clear(Integral::CMODE ctype = Integral::DEF_CMODE);
boolean setAllocationMode(DstrBase::ALLOCATION alloc);
DstrBase::ALLOCATION getAllocationMode() const;
boolean readGraph(Sof& sof, long graph_tag);
boolean isEmpty() const;
boolean findRecipe(SingleLinkedList<Component>& comp, const FrontEndBase& fend, const String& cname);
boolean findComponent(SingleLinkedList<Component>& comp, const FrontEndBase& fend, Vector<String>& inputs);
boolean delayComponent(Vector<SingleLinkedList<Component> >& dcomp, FtrBuffer& buf, const FrontEndBase& fend, SingleLinkedList<Component>& temp_list);
boolean topologicalSort(SingleLinkedList<Component>& sorted_data, boolean partial = false);
boolean makeColorHash(Integral::COLOR col = Integral::DEF_COLOR);
boolean reverseVisitDfs(const FrontEndBase& fend, const String& cname);
boolean checkInputs();
boolean expandSubGraphs(Sof& sof);
boolean readSubGraph(GraphVertex<Component>*& sub_in, GraphVertex<Component>*& sub_out, Sof& sof, long graph_tag);
Recipe rcp; Sof sof; sof.open(L"diagnose_container.sof"); rcp.readGraph(sof); SingleLinkedListalgos(DstrBase::USER); SingleLinkedList< Triple< Pair , Float, Boolean> > topo; algos.read(sof, 0); topo.read(sof, 0); DiGraph expected; expected.assign(algos, topo); if (!rcp.recipe_d.eq(expected)) { rcp.recipe_pool_d.debug(L"recipe"); } sof.close();