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

SGeneralShopMod Class Reference

#include <SGeneralShopMod.h>

Inherits SEnvironmentMod.

Inherited by SFlowShopMod, SJobShopMod, and SOpenShopMod.

Inheritance diagram for SGeneralShopMod:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual void setNumOperations (SShopJob &j, int op)=0
virtual void setPartialProcTime (SShopJob &j, int op, int mach, double partTime)=0
virtual void setNumOfMachines (int n)=0
virtual void setNumOfJobs (int n)=0
virtual bool load (std::istream &in)=0
virtual void save (std::ostream &out) const=0
virtual void sample ()

Protected Methods

SFlexLexergetLexer (std::istream &in)

Detailed Description

Base class for all shop environment modifiers.
See also:
SGeneralShop


Member Function Documentation

SFlexLexer & SModifier::getLexer std::istream &    in [protected, inherited]
 

Get a reference to the global lexical-analyzer, in order to parse an input stream. There is only one lexer for all modifiers in the tasksystem to avoid wasting space. When the input stream is switched, the current line number is set to 1.

Parameters:
in  input stream

virtual bool SModifier::load std::istream &    in [pure virtual, inherited]
 

Load from stream

Parameters:
in  input stream
Returns:
true if successfull, otherwise false

Implemented in SBroadcastMod, SFlowShopMod, SIdenticalMod, SJobShopMod, SOpenShopMod, SUniformMod, SUnrelatedMod, SAtomarJobMod, SBroadcastRequMod, SJobMod, SMalleableJobMod, SParallelJobMod, SShopJobMod, SMachinesMod, SPassiveMachinesMod, SPrecBrokerMod, SPrecDAGMod, STaskSystemMod, SVisPrecDAGMod, SDimArrayMod, SHypercubeMod, SLineTopologyMod, SMeshNMod, SMeshTopologyMod, SSetTopologyMod, and SSingleTopologyMod.

virtual void SModifier::sample   [inline, virtual, inherited]
 

Reimplemented in SBroadcastMod, SIdenticalMod, SOpenShopMod, SUniformMod, SUnrelatedMod, SAtomarJobMod, SBroadcastRequMod, SMalleableJobMod, SParallelJobMod, SShopJobMod, SPrecBrokerMod, SPrecDAGMod, STaskSystemMod, SDimArrayMod, SHypercubeMod, SLineTopologyMod, SMeshNMod, SMeshTopologyMod, SSetTopologyMod, and SSingleTopologyMod.

virtual void SModifier::save std::ostream &    out const [pure virtual, inherited]
 

Save to stream

Implemented in SBroadcastMod, SFlowShopMod, SIdenticalMod, SJobShopMod, SOpenShopMod, SUniformMod, SUnrelatedMod, SAtomarJobMod, SBroadcastRequMod, SJobMod, SMalleableJobMod, SParallelJobMod, SShopJobMod, SMachinesMod, SPassiveMachinesMod, SPrecBrokerMod, SPrecDAGMod, STaskSystemMod, SVisPrecDAGMod, SDimArrayMod, SHypercubeMod, SLineTopologyMod, SMeshNMod, SMeshTopologyMod, SSetTopologyMod, and SSingleTopologyMod.

virtual void SEnvironmentMod::setNumOfJobs int    n [pure virtual, inherited]
 

Inform the machines about the number of jobs in the tasksystem

Implemented in SBroadcastMod, SFlowShopMod, SIdenticalMod, SJobShopMod, SOpenShopMod, SUniformMod, and SUnrelatedMod.

virtual void SEnvironmentMod::setNumOfMachines int    n [pure virtual, inherited]
 

Set the number of machines in the environment

Implemented in SBroadcastMod, SFlowShopMod, SIdenticalMod, SJobShopMod, SOpenShopMod, SUniformMod, and SUnrelatedMod.

virtual void SGeneralShopMod::setNumOperations SShopJob   j,
int    op
[pure virtual]
 

Set the number of operations that a shop job consists of

Parameters:
j  job
op  number of operation

Implemented in SFlowShopMod, SJobShopMod, and SOpenShopMod.

virtual void SGeneralShopMod::setPartialProcTime SShopJob   j,
int    op,
int    mach,
double    partTime
[pure virtual]
 

Set the partial processing time 0 < partTime <= 1 of an operation of a job on a machine

Parameters:
j  job
op  operation
mach  position of machine
partTime  partial processing time

Implemented in SFlowShopMod, SJobShopMod, and SOpenShopMod.


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