ProjektGraph/graph/EdgeMarking.java

20 lines
349 B
Java
Raw Normal View History

2024-06-15 14:48:28 +00:00
package graph;
public abstract class EdgeMarking extends Marking{
}
class EdgeWeightMarking extends EdgeMarking{
private int weight;
EdgeWeightMarking(int weight){
this.weight = weight;
}
public void setWeight(int weight){
this.weight=weight;
}
public int getWeight(){
return this.weight;
}
}