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

SOpenShop Class Reference

#include <SOpenShop.h>

Inherits SGeneralShop.

Inherited by SSingle [virtual].

Inheritance diagram for SOpenShop:

Inheritance graph
[legend]
List of all members.

Public Methods

 SOpenShop ()
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 leda_list< int > getMachinesFor (const SShopJob &job, int op) const
virtual int getNextOperation (const SShopJob &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

Friends

class SOpenShopMod

Detailed Description

Open shop environment. For each job: the number of its operations must be equal to the number of machines in the environment. There are no precedence constraints between the operations, i.e. the order of processing operations is not fixed. Access the modifier in order to set properties
See also:
SOpenShopMod


Constructor & Destructor Documentation

SOpenShop::SOpenShop  
 

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 > SOpenShop::getAvailOperations const SShopJob   job const [virtual]
 

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 > SOpenShop::getMachinesFor const SShopJob   job,
int    op
const [virtual]
 

Get a list of machine positions, where the specified operation may be executed. In open shops the machine position corrensponds to the operation number, so the only element in this list is: op

Parameters:
job  job
op  operation
Returns:
list of machine positions

Implements SGeneralShop.

Reimplemented in SSingle.

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

Get access to the modifier

Implements SGeneralShop.

Reimplemented in SSingle.

int SOpenShop::getNextOperation const SShopJob   job const [virtual]
 

Return the operation to be executed next

Implements SGeneralShop.

Reimplemented in SSingle.

virtual int SOpenShop::getNumOfMachines   const [inline, virtual]
 

Return the number of machines

Implements SEnvironment.

Reimplemented in SSingle.

int SOpenShop::getNumOperations const SShopJob   job const [virtual]
 

Return the number of operations of which the job consists

Implements SGeneralShop.

Reimplemented in SSingle.

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

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 SOpenShop::getRemProcTimeOn SJob   job,
const SMachines   machines
const [virtual]
 

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.

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 SOpenShopMod [friend]
 


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