java.lang.Object
ai.timefold.solver.examples.common.domain.AbstractPersistable
ai.timefold.solver.examples.cloudbalancing.domain.CloudComputer
All Implemented Interfaces:
Labeled

public class CloudComputer extends AbstractPersistable implements Labeled
  • Constructor Details

    • CloudComputer

      public CloudComputer(long id, int cpuPower, int memory, int networkBandwidth, int cost)
  • Method Details

    • getCpuPower

      public int getCpuPower()
    • setCpuPower

      public void setCpuPower(int cpuPower)
    • getMemory

      public int getMemory()
    • setMemory

      public void setMemory(int memory)
    • getNetworkBandwidth

      public int getNetworkBandwidth()
    • setNetworkBandwidth

      public void setNetworkBandwidth(int networkBandwidth)
    • getCost

      public int getCost()
    • setCost

      public void setCost(int cost)
    • getMultiplicand

      public int getMultiplicand()
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface Labeled