import java.util.ArrayList;


public class GraphValue {	
	int nbSommet;
	ArrayList<AreteValue> arbre;

	public GraphValue(int nbSommet) {
		this.nbSommet = nbSommet;
		this.arbre=new ArrayList<AreteValue>();
	}
	
	
	void ajouterArete(AreteValue a){
		if((a.destination<=nbSommet && a.destination>=1) && (a.origine<=nbSommet && a.origine>=1)) arbre.add(a);
	}
	
	GraphValue arbreMinimal(){
		return this;
	}
}
