Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

SFlowShop Class Reference

#include <SFlowShop.h>

Inherits SJobShop.

Inherited by SSingle [virtual].

Inheritance diagram for SFlowShop:

Inheritance graph
[legend]
List of all members.

Public Methods

 SFlowShop ()
virtual leda_list< int > getMachinesFor (const SShopJob &job, int op) const
virtual SEnvironmentModgetModifier ()
virtual double getRemProcTimeOn (SJob &job, const SMachines &machines) const
virtual int getNumOfMachines () const
virtual leda_list< int > getAvailOperations (const SShopJob &job) const
virtual double getPartialProcTime (const SShopJob &job, int op, const SMachines &mach) const
virtual int getNumOperations (const SShopJob &job) const
virtual int getNextOperation (const SShopJob &job) const
virtual const leda_array<
int > & 
getWorkPlan (const SJob &job) const
virtual leda_string getClassifier () const=0
virtual bool isInstanceOf (const leda_string &classifier) const=0
virtual void assureInstanceOf (const leda_string &classifier) const=0

Protected Attributes

leda_array< leda_array< double > * > _partTimes
int _numMach

Friends

class SFlowShopMod

Detailed Description

Flow shop environment, a specialized job shop; its classifier is "F". This class models a job shop where the workplan is simple (1, ... , machines), i.e. every job must be executed on all machines in a fixed order. Access the modifier to set properties.
See also:
SFlowShopMod


Constructor & Destructor Documentation

SFlowShop::SFlowShop   [inline]
 

Constructor


Member Function Documentation

virtual void STypeInfo::assureInstanceOf const leda_string &    classifier const [pure virtual, inherited]
 

The same as isInstanceOf(), only that the program is stopped with an error in case of failure

Parameters:
classifier  e.g. "P", "Q", "R", etc

leda_list< int > SJobShop::getAvailOperations const SShopJob   job const [virtual, inherited]
 

Get the list of all operations of a job that may currently be executed. Here: all non-finished operations are returned.

Parameters:
job  job
Returns:
list of operations

Implements SGeneralShop.

Reimplemented in SSingle.

virtual leda_string STypeInfo::getClassifier   [pure virtual, inherited]
 

Get the classifier of the object, using the classification scheme. E.g. "P" for Identical Processors

Returns:
classifier string

leda_list< int > SFlowShop::getMachinesFor const SShopJob   job,
int    op
const [virtual]
 

Get a list of machine positions, where the specified operation may be executed. In flow shops the machine position corresponds to the operation.

Reimplemented from SJobShop.

Reimplemented in SSingle.

virtual SEnvironmentMod& SFlowShop::getModifier   [inline, virtual]
 

Get access to the modifier

Reimplemented from SJobShop.

Reimplemented in SSingle.

int SJobShop::getNextOperation const SShopJob   job const [virtual, inherited]
 

Return the operation to be executed next

Implements SGeneralShop.

Reimplemented in SSingle.

virtual int SJobShop::getNumOfMachines   const [inline, virtual, inherited]
 

Return the number of machines

Implements SEnvironment.

Reimplemented in SSingle.

int SJobShop::getNumOperations const SShopJob   job const [virtual, inherited]
 

Return the number of operations of which the job consists

Implements SGeneralShop.

Reimplemented in SSingle.

double SJobShop::getPartialProcTime const SShopJob   job,
int    op,
const SMachines   mach
const [virtual, inherited]
 

Get the partial processing time of a specific operation of a job.

Parameters:
job  job
op  operation
mach  is ignored, because machine-operation-combination is fixed in open shops

Implements SGeneralShop.

Reimplemented in SSingle.

double SJobShop::getRemProcTimeOn SJob   job,
const SMachines   machines
const [virtual, inherited]
 

Get the remaining processing time of the currently processed operation of a job

Parameters:
job  job that is currently running (processing a certain operation)
machines  reference to SMachines
Returns:
total processing time of current operation

Implements SEnvironment.

Reimplemented in SSingle.

const leda_array< int > & SJobShop::getWorkPlan const SJob   job const [virtual, inherited]
 

Get the whole workplan for a job. An array of machine positions will be returned: the i-th entry corresponds to the machine, where the i-th operations must be executed.

Parameters:
job  job
Returns:
workplan

virtual bool STypeInfo::isInstanceOf const leda_string &    classifier const [pure virtual, inherited]
 

Checks whether the object is an instance of the specified or a specialized class

Parameters:
classifier  e.g. "P", "Q", "R", etc
Returns:
true if the object can be casted to the specified class


Friends And Related Function Documentation

friend class SFlowShopMod [friend]
 


Member Data Documentation

int SJobShop::_numMach [protected, inherited]
 

number of machines in the corresponding task system.

leda_array< leda_array<double>* > SJobShop::_partTimes [protected, inherited]
 

The partial processing times of the operations. The sum of the entries must be equal to one ! The outer array is indexed by the job index. The inner array is indexed by the operation


The documentation for this class was generated from the following files:
Generated on Thu May 22 16:50:44 2003 for Sketch-it! by doxygen1.2.18