9 #include "../../data_structures/bm/blockmodel.h" 
   14 class SchedulingInstance;
 
   25     unsigned int * _periods;
 
   28     vector<double> *_stocks;
 
   57     const unsigned int GetBlockPeriod(
const delphos::BlockIndexType& index) 
const;
 
   73     const unsigned int GetBlockPeriod(
 
   76         const double & z) 
const;
 
   83     const unsigned int GetBlockDestination(
const delphos::BlockIndexType& index) 
const;
 
   99     const unsigned int GetBlockDestination(
 
  102         const double & z) 
const;
 
  111     vector<double> GetBlockDestinations(
 
  114         const double & z) 
const;
 
  121     vector<double> GetBlockDestinations(
const delphos::BlockIndexType& index) 
const;
 
  139     void SetBlockPeriod(
const delphos::BlockIndexType& index, 
const unsigned int& period);
 
  161         const unsigned int & period);
 
  169     void SetBlockDestination(
const delphos::BlockIndexType& index, 
const unsigned int& destination);
 
  187     void SetBlockDestination(
const double& x,
const double& y,
const double& z,
const unsigned int& destination);
 
  195     void SetBlockDestinations(
const delphos::BlockIndexType& index, 
const vector<double>& destinations);
 
  213     void SetBlockDestinations(
const double& x,
const double& y,
const double& z,
const vector<double>& destinations);
 
  226     void StoreAsAttribute(
const string& time_attribute, 
const string& dest_attribute, 
const bool& multiattr=
false);
 
  239     void SetStockValue (
const delphos::BlockIndexType& index, 
const double& value);
 
  246     double const GetStockValue (
const delphos::BlockIndexType& index ) 
const; 
 
  252     const unsigned int StockVarListSize() 
const;
 
  257     const unsigned int GetStockVarListSize() 
const;
 
  270     bool ScheduleToTextFile(
const char* schedule_file, 
const bool& multiattr=
false) 
const;
 
  278     bool StocksToTextFile(
const char* stocks_file) 
const;
 
An utility class to abstract coordinates so they can be used as map and set keys by means of string c...
Definition: coords.h:20
Defines a scheduling instance to be solved. 
Definition: instance.h:41
static const unsigned int NO_PERIOD
Definition: schedule.h:231
A base class for object associated to a given block model. 
Definition: blockmodel.h:1356
Defines a scheduling of blocks. 
Definition: schedule.h:23