diff src/alice/jungle/operations/NetworkNodePath.java @ 76:9e3198bf9547

Modified NetworkNodePath
author one
date Tue, 15 Oct 2013 15:53:36 +0900
parents b0af3960917f
children 5b9708d9febc
line wrap: on
line diff
--- a/src/alice/jungle/operations/NetworkNodePath.java	Tue Oct 15 14:43:29 2013 +0900
+++ b/src/alice/jungle/operations/NetworkNodePath.java	Tue Oct 15 15:53:36 2013 +0900
@@ -31,6 +31,13 @@
 		path = new LinkedList<Integer>();
 	}
 	
+	public NetworkNodePath(NodePath _p) {
+		path = new LinkedList<Integer>();
+		for(Integer pos: _p) {
+			path.add(pos);
+		}
+	}
+	
 	private NetworkNodePath(LinkedList<Integer> _path) {
 		path = _path;
 	}