49 lines
992 B
Java
49 lines
992 B
Java
package Model;
|
|
|
|
/**
|
|
* Implementierung verschiedener Algorithmen zur Berechnung von Ausgleichsgeraden.
|
|
*
|
|
* @Author: Armin Wolf
|
|
* @Email: a_wolf28@uni-muenster.de
|
|
* @Date: 30.05.2017.
|
|
*/
|
|
public class Node {
|
|
|
|
private Coordinates coordinates;
|
|
private Edge incidentEdge;
|
|
private String id;
|
|
|
|
public Node() {
|
|
new Node(null, null);
|
|
}
|
|
|
|
public Node(Coordinates coordinates, Edge incidentEdge) {
|
|
this.coordinates = coordinates;
|
|
this.incidentEdge = incidentEdge;
|
|
}
|
|
|
|
public Coordinates getCoordinates() {
|
|
return coordinates;
|
|
}
|
|
|
|
public void setCoordinates(Coordinates coordinates) {
|
|
this.coordinates = coordinates;
|
|
}
|
|
|
|
public Edge getIncidentEdge() {
|
|
return incidentEdge;
|
|
}
|
|
|
|
public void setIncidentEdge(Edge incidentEdge) {
|
|
this.incidentEdge = incidentEdge;
|
|
}
|
|
|
|
public String getID() {
|
|
return this.id;
|
|
}
|
|
|
|
public void setID(String id) {
|
|
this.id = id;
|
|
}
|
|
}
|