MATES 3.0-rc2

org.mates.sim
Class Simulator.MigrationInfo

java.lang.Object
  extended byorg.mates.sim.Simulator.MigrationInfo
Enclosing class:
Simulator

public class Simulator.MigrationInfo
extends java.lang.Object

Internal class for agent migration bookkeeping.

Author:
Evan Sultanik

Field Summary
 double data_still_to_be_transmitted
          The amount of data that still needs to be transmitted between hosts before the agent is done migrating
 Host destination
          The host to which this agent is being transmitted
 int iterations_in_transit
          The number of iterations this agent has already been in transit
 Host source
          The host from which this agent is being transmitted
 
Constructor Summary
Simulator.MigrationInfo(Host s, Host d, double dstbt)
          Default constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data_still_to_be_transmitted

public double data_still_to_be_transmitted
The amount of data that still needs to be transmitted between hosts before the agent is done migrating


source

public Host source
The host from which this agent is being transmitted


destination

public Host destination
The host to which this agent is being transmitted


iterations_in_transit

public int iterations_in_transit
The number of iterations this agent has already been in transit

Constructor Detail

Simulator.MigrationInfo

public Simulator.MigrationInfo(Host s,
                               Host d,
                               double dstbt)
Default constructor.

Parameters:
s - the source host
d - the destination host
dstbt - the initial amount of data that needs to be transmitted (i.e. Agent.getTransmissionSize())

MATES 3.0-rc2

Submit a bug or request a feature
http://mates.sourceforge.net/

Copyright 2004 Evan Sultanik