CG_Gen::DotGenerator class

Base classes

class SimpleGenerator

Constructors, destructors, conversion operators

DotGenerator()
DotGenerator(uint_fast32_t i_seed)
DotGenerator(const GenerationParameters& i_param) explicit

Public functions

auto generatorDotToGraphMealy(std::string i_DotPath) -> GraphPtr
generatorDotToGraphMealy represents the generation of a sequential circuit of a Mealy machine.
auto generatorDotToGraphMoore(std::string i_DotPath) -> GraphPtr
generatorDotToGraphMoore represents the generation of a sequential circuit of a Moore machine.
auto generatorDotToGraph(const GenerationParameters& i_param) -> GraphPtr
auto generatorDotToGraph() -> GraphPtr

Function documentation

GraphPtr CG_Gen::DotGenerator::generatorDotToGraphMealy(std::string i_DotPath)

generatorDotToGraphMealy represents the generation of a sequential circuit of a Mealy machine.

Parameters
i_DotPath The path to a folder where dot file is located
Returns the created OrientedGraph

Generator creates a Mealy machine from a first dot file located in a folder with a i_DotPath path.

GraphPtr CG_Gen::DotGenerator::generatorDotToGraphMoore(std::string i_DotPath)

generatorDotToGraphMoore represents the generation of a sequential circuit of a Moore machine.

Parameters
i_DotPath The path to a folder where dot file is located
Returns the created OrientedGraph

Generator creates a Moore machine from a first dot file located in a folder with a i_DotPath path.