Public Types | 
| typedef flowtype  | TotalValue | 
| typedef captype  | Value | 
| typedef GraphT::node_id  | Var | 
Public Member Functions | 
| void  | add_constant (Value E) | 
| void  | add_term1 (Var x, Value E0, Value E1) | 
| void  | add_term2 (Var x, Var y, Value E00, Value E01, Value E10, Value E11) | 
| void  | add_term3 (Var x, Var y, Var z, Value E000, Value E001, Value E010, Value E011, Value E100, Value E101, Value E110, Value E111) | 
| Var  | add_variable (int num=1) | 
|   | Energy (int var_num_max, int edge_num_max, void(*err_function)(char *)=NULL) | 
| int  | get_var (Var x) | 
| TotalValue  | minimize () | 
|   | ~Energy () | 
Private Types | 
typedef Graph< captype,  
tcaptype, flowtype >  | GraphT | 
Private Attributes | 
| TotalValue  | Econst | 
| void(*  | error_function )(char *) | 
template<typename captype, typename tcaptype, typename flowtype>
class Energy< captype, tcaptype, flowtype >
Definition at line 79 of file energy.h.