Generated on Tue May 22 09:40:50 2018 for Gecode by doxygen 1.6.3

SumCostWarehouses Class Reference

Model with cost defined as sum. More...

List of all members.

Public Member Functions

 SumCostWarehouses (const Options &opt)
 Actual model.
virtual IntVar cost (void) const
 Return solution cost.
 SumCostWarehouses (SumCostWarehouses &s)
 Constructor for cloning s.
virtual Spacecopy (void)
 Copy during cloning.
virtual void print (std::ostream &os) const
 Print solution.

Protected Attributes

IntVar c_total
 Total cost.

Detailed Description

Model with cost defined as sum.

Definition at line 149 of file warehouses.cpp.

Constructor & Destructor Documentation

SumCostWarehouses::SumCostWarehouses ( const Options opt  )  [inline]

Actual model.

Definition at line 155 of file warehouses.cpp.

SumCostWarehouses::SumCostWarehouses ( SumCostWarehouses s  )  [inline]

Constructor for cloning s.

Definition at line 165 of file warehouses.cpp.

Member Function Documentation

virtual IntVar SumCostWarehouses::cost ( void   )  const [inline, virtual]

Return solution cost.

Definition at line 161 of file warehouses.cpp.

virtual Space* SumCostWarehouses::copy ( void   )  [inline, virtual]

Copy during cloning.

Definition at line 169 of file warehouses.cpp.

virtual void SumCostWarehouses::print ( std::ostream &  os  )  const [inline, virtual]

Print solution.

Definition at line 174 of file warehouses.cpp.

Member Data Documentation

Total cost.

Definition at line 152 of file warehouses.cpp.

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