filialenbelieferung.simulation
Class Filiale
java.lang.Object
filialenbelieferung.simulation.Ort
filialenbelieferung.simulation.Filiale
- All Implemented Interfaces:
- java.io.Serializable
public class Filiale
- extends Ort
- implements java.io.Serializable
Filiale, die von einem Zentrallager per LKW beliefert wird.
- See Also:
- Serialized Form
|
Constructor Summary |
Filiale(double xKoordinate,
double yKoordinate,
int bedarf)
Die Position der Filiale wird durch
X- und Y-Koordinate angegeben, bedarf ist der Soll-Lagerstand der Filiale. |
|
Method Summary |
int |
getFehlbestand()
Liefert die nötige Anzahl um den Soll-Lagerstand zu erreichen. |
java.lang.String |
toString()
|
| Methods inherited from class filialenbelieferung.simulation.Ort |
getDistanzZu |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Filiale
public Filiale(double xKoordinate,
double yKoordinate,
int bedarf)
- Die Position der Filiale wird durch
X- und Y-Koordinate angegeben, bedarf ist der Soll-Lagerstand der Filiale.
getFehlbestand
public int getFehlbestand()
- Liefert die nötige Anzahl um den Soll-Lagerstand zu erreichen.
toString
public java.lang.String toString()
- Overrides:
toString in class Ort