Skip to content
Snippets Groups Projects
Commit 1d8b4f29 authored by BOUZAZI Firas's avatar BOUZAZI Firas
Browse files

4th commit

parent f4aaf63c
Branches
No related tags found
No related merge requests found
package org.petriNet; package org.petriNet;
public class Arc { public class Arc {
protected int poid; // weight protected int poid;
protected int id; protected int id;
public Arc(int poid,int id) { public Arc(int poid,int id) {
...@@ -13,9 +13,7 @@ public class Arc { ...@@ -13,9 +13,7 @@ public class Arc {
this.poid = nouveauPoid; this.poid = nouveauPoid;
} }
// Validation method (abstract in derived classes)
public boolean valider() { public boolean valider() {
// Implement validation logic if needed
return true; return true;
} }
...@@ -28,4 +26,4 @@ public class Arc { ...@@ -28,4 +26,4 @@ public class Arc {
} }
} }
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment