#include <SGeneralShopMod.h>
Inherits SEnvironmentMod.
Inherited by SFlowShopMod, SJobShopMod, and SOpenShopMod.
Inheritance diagram for SGeneralShopMod:
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 | |
SFlexLexer & | getLexer (std::istream &in) |
|
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.
|
|
Load from 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. |
|
|
|
Inform the machines about the number of jobs in the tasksystem Implemented in SBroadcastMod, SFlowShopMod, SIdenticalMod, SJobShopMod, SOpenShopMod, SUniformMod, and SUnrelatedMod. |
|
Set the number of machines in the environment Implemented in SBroadcastMod, SFlowShopMod, SIdenticalMod, SJobShopMod, SOpenShopMod, SUniformMod, and SUnrelatedMod. |
|
Set the number of operations that a shop job consists of
Implemented in SFlowShopMod, SJobShopMod, and SOpenShopMod. |
|
Set the partial processing time 0 < partTime <= 1 of an operation of a job on a machine
Implemented in SFlowShopMod, SJobShopMod, and SOpenShopMod. |