comparison src/alice/jungle/operations/NetworkNodePath.java @ 83:b3ccefdf2b43

Added PersistentExample
author one
date Fri, 25 Oct 2013 18:44:29 +0900
parents 5b9708d9febc
children
comparison
equal deleted inserted replaced
82:60d28fedcbf2 83:b3ccefdf2b43
13 { 13 {
14 LinkedList<Integer> path; 14 LinkedList<Integer> path;
15 15
16 public NetworkNodePath() { 16 public NetworkNodePath() {
17 path = new LinkedList<Integer>(); 17 path = new LinkedList<Integer>();
18 path.add(-1);
18 } 19 }
19 20
20 public NetworkNodePath(NodePath _p) { 21 public NetworkNodePath(NodePath _p) {
21 path = new LinkedList<Integer>(); 22 path = new LinkedList<Integer>();
22 for(Integer pos: _p) { 23 for(Integer pos: _p) {