Class Host

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Processor

public class Host extends LayeredNetworkElement
A processor that can run Tasks
See Also:
  • Field Details

    • multiplicity

      protected int multiplicity
    • replication

      protected int replication
    • scheduling

      protected SchedStrategy scheduling
    • quantum

      protected double quantum
    • speedFactor

      protected double speedFactor
    • tasks

      protected List<Task> tasks
  • Constructor Details

  • Method Details

    • setReplication

      public void setReplication(int replication)
    • addTask

      public void addTask(Task newTask)
    • removeTask

      public boolean removeTask(Task newTask)