Detailed Description
#include <weights.h>
Public Member Functions  
Weights (int varweight_, int vbinary_, int vcontinous_, int vinteger_, int vimplint_, int consweight_)  
Weights ()  
virtual  ~Weights () 
int  calculate (SCIP_CONS *cons) const 
int  calculate (SCIP_VAR *var) const 
Protected Attributes  
int  varweight 
int  vbinary 
int  vcontinous 
int  vinteger 
int  vimplint 
int  consweight 
Constructor & Destructor Documentation
gcg::Weights::Weights  (  int  varweight_, 
int  vbinary_,  
int  vcontinous_,  
int  vinteger_,  
int  vimplint_,  
int  consweight_  
) 
Definition at line 39 of file weights.cpp.
gcg::Weights::Weights  (  ) 
Definition at line 57 of file weights.cpp.

virtual 
Definition at line 68 of file weights.cpp.
Member Function Documentation
int gcg::Weights::calculate  (  SCIP_CONS *  cons  )  const 
Definition at line 73 of file weights.cpp.
References consweight.
Referenced by gcg::BipartiteGraph< T >::createFromMatrix(), gcg::HyperrowcolGraph< T >::createFromMatrix(), gcg::ColumnGraph< T >::createFromMatrix(), gcg::RowGraph< T >::createFromMatrix(), gcg::HypercolGraph< T >::createFromMatrix(), gcg::HyperrowGraph< T >::createFromMatrix(), gcg::BipartiteGraph< T >::createFromPartialMatrix(), gcg::HyperrowcolGraph< T >::createFromPartialMatrix(), gcg::HypercolGraph< T >::createFromPartialMatrix(), and gcg::HyperrowGraph< T >::createFromPartialMatrix().
int gcg::Weights::calculate  (  SCIP_VAR *  var  )  const 
Definition at line 77 of file weights.cpp.
References varweight, vbinary, vcontinous, vimplint, and vinteger.
Member Data Documentation

protected 

protected 

protected 
weight of a binary variable vertex
Definition at line 45 of file weights.h.
Referenced by calculate().

protected 
weight of a continuous variable vertex
Definition at line 46 of file weights.h.
Referenced by calculate().

protected 
weight of an implicit integer variable vertex
Definition at line 48 of file weights.h.
Referenced by calculate().

protected 
weight of an integer variable vertex
Definition at line 47 of file weights.h.
Referenced by calculate().