Definition at line 419 of file subcircuit.cc.
SubCircuit::SolverWorker::DiNode::DiNode |
( |
| ) |
|
|
inline |
SubCircuit::SolverWorker::DiNode::DiNode |
( |
const Graph & |
graph, |
|
|
int |
nodeIdx |
|
) |
| |
|
inline |
Definition at line 428 of file subcircuit.cc.
432 for (
const auto &port : node.
ports)
433 portSizes[port.portId] = port.bits.size();
std::vector< Node > nodes
std::map< std::string, int > portSizes
std::vector< Port > ports
bool SubCircuit::SolverWorker::DiNode::operator< |
( |
const DiNode & |
other | ) |
const |
|
inline |
Definition at line 436 of file subcircuit.cc.
438 if (
typeId != other.typeId)
439 return typeId < other.typeId;
std::map< std::string, int > portSizes
std::string SubCircuit::SolverWorker::DiNode::toString |
( |
| ) |
const |
|
inline |
Definition at line 443 of file subcircuit.cc.
446 bool firstPort =
true;
448 str +=
my_stringf(
"%s%s[%d]", firstPort ?
"" :
",", it.first.c_str(), it.second);
451 return typeId +
"(" + str +
")";
std::map< std::string, int > portSizes
static std::string my_stringf(const char *fmt,...)
std::map<std::string, int> SubCircuit::SolverWorker::DiNode::portSizes |
std::string SubCircuit::SolverWorker::DiNode::typeId |
The documentation for this struct was generated from the following file: