public class MachinePeriodPart extends Object implements Comparable<MachinePeriodPart>
Constructor and Description |
---|
MachinePeriodPart(Machine machine,
int period,
int resourceListSize,
List<TaskAssignment> taskAssignmentList) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MachinePeriodPart other) |
boolean |
equals(Object o) |
Machine |
getMachine() |
int |
getPeriod() |
int[] |
getResourceAvailableList() |
int |
getResourceInShortTotal() |
int |
hashCode() |
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setResourceAvailableList(int[] resourceAvailableList) |
String |
toString() |
public MachinePeriodPart(Machine machine, int period, int resourceListSize, List<TaskAssignment> taskAssignmentList)
public boolean isActive()
public void setActive(boolean active)
public int[] getResourceAvailableList()
public void setResourceAvailableList(int[] resourceAvailableList)
public int getResourceInShortTotal()
public Machine getMachine()
public int getPeriod()
public int compareTo(MachinePeriodPart other)
compareTo
in interface Comparable<MachinePeriodPart>
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.