37 #include <igraph/igraph.h>
44 namespace graph_algorithm
Direction
The direction of exploration within the graph.
Result< std::vector< std::vector< u32 > > > get_neighborhood_igraph(NetlistGraph *graph, const igraph_vector_int_t *start_vertices, u32 order, NetlistGraph::Direction direction, u32 min_dist=0)
Compute the neighborhood of the given order for each of the specified vertices within the given netli...
Result< std::vector< std::vector< u32 > > > get_neighborhood(NetlistGraph *graph, const std::vector< Gate * > &start_gates, u32 order, NetlistGraph::Direction direction, u32 min_dist=0)
Compute the neighborhood of the given order for each of the specified gates within the given netlist ...
This file contains the class that holds a netlist graph.