Template Class CircuitGraph

Class Documentation

template<typename N, typename E>
class CircuitGraph

A very basic hypergraph setup for circuit representation. This forms the hypergraph as a bipartite graph. Doesn’t allow removing. Can only grab sets of connections to nodes.

Todo:

should replace with something better and more efficent. Should replace with a libraries setup instead. This would allow fast and easy partitioning of circuits

Todo:

This is to replace inserting vector size for allocating PowerElectronicsModel

Todo:

should replace N and E with Node and Component classes respectively.

Note

Tested but currently not used in the rest of the code.

Template Parameters:
  • IdxT

  • Label

Public Functions

void printBiPartiteGraph(bool verbose = false)

Print the bipartite graph.

Todo:

need to add verbose printing for connections display

Template Parameters:

IdxT

Parameters:

verbose[in] if true will print connections, otherwise just the number of nodes and edges