public static boolean writeEdges(int numNodes, int idTopology) {
		
		try {
			PrintStream ps = new PrintStream("./Topology/Edges/"+idTopology+"_edge_"+numNodes+".txt");
			ps.println("Number of nodes: " + numNodes);
			Configuration.printConfiguration(ps);
			ps.println(separator);
			
			
			Iterator<Node> it = Tools.getNodeList().iterator();
			Iterator<Edge> eIt;
			Edge e;
 			Node n;
			while(it.hasNext()){
				n = it.next();
				eIt = n.outgoingConnections.iterator();
				while(eIt.hasNext()){
					e = eIt.next();
					
					ps.println(((GenericWeightedEdge) e).printEdgeInformation());
				}
			}
			/*for(Node n : Tools.getNodeList()) {
				Position p = n.getPosition();
				ps.println(p.xCoord + ", " + p.yCoord + ", " + p.zCoord);
			}*/
			
			
			ps.close();
			
			return true;
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			Tools.minorError(e.getMessage());
		}
		
		

		System.out.println("------------------------------------------------------");
		System.out.println("End ConfigTest");
		System.out.println("------------------------------------------------------");
		return false;
		
	}