public Pebbler(Hypergraph.Hypergraph <GeometryTutorLib.ConcreteAST.GroundedClause, Hypergraph.EdgeAnnotation> graph, PebblerHypergraph <ConcreteAST.GroundedClause, Hypergraph.EdgeAnnotation> pGraph) { this.graph = graph; this.pebblerGraph = pGraph; forwardPebbledEdges = new HyperEdgeMultiMap <Hypergraph.EdgeAnnotation>(pGraph.vertices.Length); backwardPebbledEdges = new HyperEdgeMultiMap <Hypergraph.EdgeAnnotation>(pGraph.vertices.Length); forwardPebbledEdges.SetOriginalHypergraph(graph); backwardPebbledEdges.SetOriginalHypergraph(graph); }
// // Create the Pebbler version of the hypergraph for analysis (integer-based hypergraph) // private void ConstructPebblingHypergraph() { // Create the Pebbler version of the hypergraph (all integer representation) from the original hypergraph pebblerGraph = graph.GetPebblerHypergraph(); }