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

SEnvironmentMod Class Reference

#include <SEnvironmentMod.h>

Inherits SModifier.

Inherited by SBroadcastMod, SGeneralShopMod, SIdenticalMod, SUniformMod, and SUnrelatedMod.

Inheritance diagram for SEnvironmentMod:

Inheritance graph
[legend]
List of all members.

Public Methods

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 SEnvironment-modifiers
See also:
SEnvironment


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]
 

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]
 

Set the number of machines in the environment

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


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