20 #ifndef DATA_STRUCTURESHYPERGRAPH_H
21 #define DATA_STRUCTURESHYPERGRAPH_H
23 #include "AnonHypergraph.h"
24 #include "../basic_types/Streamable.h"
71 virtual void streamTo(std::ostream& ost)
const override;
virtual void streamTo(std::ostream &ost) const override
Prints a string representation of this graph to the given stream.
Definition: Hypergraph.cpp:52
IDType getID() const
Returns the (unique) ID of this graph.
Definition: Hypergraph.cpp:47
string name
Stores the name of this graph.
Definition: AnonHypergraph.h:392
A Hypergraph represents a graph with a unique identifier.
Definition: Hypergraph.h:35
shared_ptr< const Hypergraph > Hypergraph_csp
Alias for a shared pointer to a constant Hypergraph.
Definition: Hypergraph.h:90
An AnonHypergraph is a data structure storing a hypergraph.
Definition: AnonHypergraph.h:43
Hypergraph(std::string name="")
Generates a new Hypergraph with the given name and without vertices or edges.
IDType const id
Stores the (unique) iD of this graph.
Definition: Hypergraph.h:78
virtual ~Hypergraph()
Deletes this Hypergraph, freeing all memory.
Definition: Hypergraph.cpp:45
unsigned int IDType
IDType is an (unsigned) integer specifically used as an Identifier of graphs, elements of graphs or a...
Definition: globals.h:53
shared_ptr< Hypergraph > Hypergraph_sp
Alias for a shared pointer to a Hypergraph.
Definition: Hypergraph.h:85