public FAGraphVizPrinter(CGraph graph, UOPCore.Options <ThompsonOptions> options, CGraphLabeling <CGraphNode> nodeLabeling = null, CGraphLabeling <CGraphEdge> edgeLabeling = null) : base(graph, nodeLabeling, edgeLabeling) { m_FAInfo = new FAGraphQueryInfo(graph, FA.m_FAINFOKEY); m_options = options; }
public ThompsonAlgorithmStructured(ThompsonOptions options, Dictionary <uint, RERecord> mReRecords) : base() { // Initialize Thompson options m_options = new UOPCore.Options <ThompsonOptions>(options); m_reRecords = mReRecords; m_ReportingServices = new ThompsonReporting(m_options); }
internal ThompsonGraphVizPrinter(CGraph graph, UOPCore.Options <ThompsonOptions> options, object thompsonkeyinfo, CGraphLabeling <CGraphNode> nodeLabeling = null, CGraphLabeling <CGraphEdge> edgeLabeling = null ) : base(graph, nodeLabeling, edgeLabeling) { m_options = options; m_thompsonKeyInfo = thompsonkeyinfo; m_thompsonInfo = new ThompsonInfo(graph, m_thompsonKeyInfo); m_FAInfo = new FAGraphQueryInfo(graph, FA.m_FAINFOKEY); }
public ThompsonReporting(UOPCore.Options <ThompsonOptions> options) { m_options = options; // Initialize m_ThomsonStepsPrinter field m_ThomsonStepsPrinter = new ThomsonMultiGraphGraphVizPrinter("ThompsonSteps.dot"); m_ThomsonStepsPrinter.e_prelude += new Func <object, string>(p => "digraph Total { "); m_ThomsonStepsPrinter.e_epilogue += new Func <object, string>(p => "} "); m_ThomsonStepsPrinter.e_intermediate_after += new Func <object, string>(p => { ThompsonGraphVizPrinter pp = p as ThompsonGraphVizPrinter; return("//" + pp.M_Graph.M_Label); }); }
public ThompsonVisitorFlatten(ThompsonOptions options) : base() { // Initialize Thompson options m_options = new UOPCore.Options <ThompsonOptions>(options); m_ReportingServices = new ThompsonReporting(m_options); }