Package | Description |
---|---|
desmoj.extensions.applicationDomains.harbour |
Example model components for harbour terminal simulation.
|
Modifier and Type | Class and Description |
---|---|
class |
Yard
Yard is the place where containers (or other kind of goods) can be stored by
transpoters or cranes and retrieved by transporters or cranes.
|
Modifier and Type | Method and Description |
---|---|
Block[] |
Yard.getAllBlocks()
Gets all the blocks of the yard.
|
Block |
ChooseBlockYardStrategy.getBlock(Block[] blocks)
Implement this method in a class that implements this interface to define
the algorithm of the strategy that finds a certain block and is used by
the yard.
|
Block |
MostFreePlaceBlockYardStrategy.getBlock(Block[] blocks)
This method describes the MostFreePlaceBlockYardStrategy that is used by
the yard and returns the block with the most free place (most place to
reserve) to store there.
|
Block |
RandomBlockYardStrategy.getBlock(Block[] blocks)
This method describes the RandomBlockYardStrategy that is used by the
yard and returns the random selected block.
|
Block |
Yard.getBlock(Block[] blocks)
Gets the Block of the yard that was found by using the current yard
strategy of the yard.
|
Block[] |
Yard.getBlocks(int typ)
Gets all the blocks of the yard that have the certain typ.
|
Block[] |
Yard.getBlocks(int typ,
Block[] b)
Gets all the blocks of a part of the yard that have the certain typ.
|
Block[] |
Yard.getCBlocks(int ctyp)
Gets all the blocks of the yard with a certain container typ.
|
Block[] |
Yard.getFreeBlocks(Block[] b,
long n)
Gets all the blocks from a part of the yard blocks that have some free
place to store containers.
|
Block[] |
Yard.getFreeBlocks(long n)
Gets all the blocks of the yard that have some free place to store
containers.
|
Block[] |
Yard.getFullBlocks(Block[] b,
long n)
Gets all the blocks of the yard that have at least some TEUs (not empty).
|
Block[] |
Yard.getHOBlocks(HoldingArea ho)
Gets all the blocks of the yard that are assigned a certain holding area
to.
|
Modifier and Type | Method and Description |
---|---|
void |
Yard.addBlock(Block b)
Method for producers to make the Yard add a block.
|
Block |
ChooseBlockYardStrategy.getBlock(Block[] blocks)
Implement this method in a class that implements this interface to define
the algorithm of the strategy that finds a certain block and is used by
the yard.
|
Block |
MostFreePlaceBlockYardStrategy.getBlock(Block[] blocks)
This method describes the MostFreePlaceBlockYardStrategy that is used by
the yard and returns the block with the most free place (most place to
reserve) to store there.
|
Block |
RandomBlockYardStrategy.getBlock(Block[] blocks)
This method describes the RandomBlockYardStrategy that is used by the
yard and returns the random selected block.
|
Block |
Yard.getBlock(Block[] blocks)
Gets the Block of the yard that was found by using the current yard
strategy of the yard.
|
Block[] |
Yard.getBlocks(int typ,
Block[] b)
Gets all the blocks of a part of the yard that have the certain typ.
|
Block[] |
Yard.getFreeBlocks(Block[] b,
long n)
Gets all the blocks from a part of the yard blocks that have some free
place to store containers.
|
Block[] |
Yard.getFullBlocks(Block[] b,
long n)
Gets all the blocks of the yard that have at least some TEUs (not empty).
|
boolean |
Yard.plan(Block b,
long n)
Method for consumers to make the Yard plan a number of n TEUs (a place
for a container) to be retrieved there later.
|
boolean |
Yard.reserve(Block b,
long n)
Method for producers to make the Yard reserve a number of n TEUs (a place
for a container) to be stored there later.
|
boolean |
Yard.retrieve(Block b,
long n)
Method for consumers to make the Yard retrieve a number of n TEUs (a
container).
|
boolean |
Yard.store(Block b,
long n)
Method for producers to make the Yard store a number of n TEUs (a
container).
|