Minotaur 0.4.1
Docs for developers
Classes | Public Types | Public Member Functions | List of all members
Minotaur::Hypergraph Class Reference

Classes

class  CompareSetsOfVars
 

Public Types

typedef std::map< SetOfVars, double, CompareSetsOfVarsSetOfVarsDoubleMap
 
typedef std::list< SetOfVars > ListOfSetOfVars
 
typedef std::map< ConstVariablePtr, ListOfSetOfVars > AdjListType
 

Public Member Functions

 Hypergraph (ConstProblemPtr p)
 
void adjustEdgeWeightsBetween (const VariablePtr v, const SetOfVars &g, bool phaseOne)
 
void create (std::map< ConstVariablePtr, SetOfVars > const &terms)
 
double getWeight (const SetOfVars &e)
 
SetOfVars heaviestEdge (bool &maxWeightPositive) const
 
VariablePtr heaviestIncidentVertex (const SetOfVars &g)
 
ListOfSetOfVars incidentEdges (ConstVariablePtr v) const
 
VariablePtr maxWeightedDegreeVertex (bool &maxWeightPositive) const
 
int numEdges () const
 
int numVertices () const
 
SetOfVars randomEdge (bool &maxWeightPositive)
 
void resetWeights ()
 
void setWeight (const SetOfVars &e, double w)
 
double weightedDegree (ConstVariablePtr v) const
 
void write (std::ostream &out) const
 

The documentation for this class was generated from the following files:

Minotaur source code documented by Doxygen 1.9.4 on Thu Apr 24 2025