test_class.file: SoftwarePraktikum/src/graphenbib/PathTest.java
test_class.identifier: PathTest
test_case.body: @Test
  	public void testGetPathInOriginalGraphViaNodes()
  	{
  		MapGraph graph = null;
  		try
          {
  	        graph = new MapGraph(90, 90, 0, 0);
  	        graph.insertNode(1, new GPSCoordinate(10,10));
  	        graph.insertNode(2, new GPSCoordinate(10,25));
  	        graph.insertNode(3, new GPSCoordinate(10,40));
  	        graph.insertNode(4, new GPSCoordinate(20,65));
  	        graph.insertNode(5, new GPSCoordinate(30,40));
  	        graph.insertNode(6, new GPSCoordinate(30,25));
  	        graph.insertNode(7, new GPSCoordinate(30,10));
  	        graph.insertEdge(1, 2, 1, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(1, 6, 2, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(1, 7, 3, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(2, 1, 4, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(2, 7, 5, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(2, 6, 6, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(2, 5, 7, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(2, 3, 8, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(3, 2, 9, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(3, 6, 10, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(3, 5, 11, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(3, 4, 12, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(4, 3, 13, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(4, 5, 14, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(5, 4, 15, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(5, 3, 16, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(5, 2, 17, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(5, 6, 18, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(6, 5, 19, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(6, 3, 20, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(6, 2, 21, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(6, 1, 22, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(6, 7, 23, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(7, 1, 24, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(7, 2, 25, 6, StreetType.MOTORWAY);
  	        graph.insertEdge(7, 6, 26, 6, StreetType.MOTORWAY);
          } catch (Exception e)
          {
  	        e.printStackTrace();
          }
          HierarchyMapGraph hGraph = new HierarchyMapGraph();
          try
          {
  	        hGraph = graph.exportToHierachyGraph(hGraph);
          } catch (Exception e)
          {
  	        e.printStackTrace();
          }
          hGraph.insertEdge(1, 3, 1, 12, StreetType.MOTORWAY, (byte)1);
          hGraph.insertEdge(3, 4, 12, 6, StreetType.MOTORWAY, (byte)1);
          hGraph.insertEdge(1, 4, 1, 18, StreetType.MOTORWAY, (byte)2);
          Path way = new Path();
          way.appendNode(hGraph.getNode(1));
          way.appendNode(hGraph.getNode(4));
          int iter = 1;
  //        try TODO: Dieser Test wurde auskommentiert, das er deprecated Methoden testet.
  //        {
  //	        for (HierarchyMapNode n : way.reconstructWayBetweenNodes(graph, hGraph, hGraph.getNode(1), hGraph.getNode(4)))
  //	        {
  //	        	if (n.getUID()!=iter)
  //	        		fail("Der gegebene Nikolausweg wurde nicht rekonstruiert");
  //	        	iter++;
  //	        }
  //        } catch (NodeNotNeighbourOfPreviousElementInPathException e)
  //        {
  //	        e.printStackTrace();
  //	        fail("Es ging schon dabei schief, dass der Pfad nicht gueltig war");
  //        }
  //        Logger.getInstance().log("PathTest",way);
  	}
test_case.class_method_signature: PathTest.testGetPathInOriginalGraphViaNodes()
test_case.full_signature: @Test public void testGetPathInOriginalGraphViaNodes()
test_case.identifier: testGetPathInOriginalGraphViaNodes
test_case.invocations: insertNode insertNode insertNode insertNode insertNode insertNode insertNode insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge insertEdge printStackTrace exportToHierachyGraph printStackTrace insertEdge insertEdge insertEdge appendNode getNode appendNode getNode
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetPathInOriginalGraphViaNodes()
focal_class.declarator: pathInHierarchyMapGraph= new ArrayList<Integer>()
focal_class.modifier: private
focal_class.original_string: private ArrayList<Integer> pathInHierarchyMapGraph= new ArrayList<Integer>();
focal_class.type: ArrayList<Integer>
focal_class.var_name: pathInHierarchyMapGraph
focal_class.declarator: pathLength
focal_class.modifier: private
focal_class.original_string: private int pathLength;
focal_class.type: int
focal_class.var_name: pathLength
focal_class.declarator: pathTime
focal_class.modifier: private
focal_class.original_string: private long pathTime;
focal_class.type: long
focal_class.var_name: pathTime
focal_class.declarator: reconstruted=true
focal_class.original_string: boolean reconstruted=true;
focal_class.type: boolean
focal_class.var_name: reconstruted
focal_class.declarator: validLength=false
focal_class.original_string: boolean validLength=false;
focal_class.type: boolean
focal_class.var_name: validLength
focal_class.declarator: validTime=false
focal_class.original_string: boolean validTime=false;
focal_class.type: boolean
focal_class.var_name: validTime
focal_class.file: SoftwarePraktikum/src/graphenbib/Path.java
focal_class.identifier: Path
focal_class.class_method_signature: Path.appendNode(HierarchyMapNode node)
focal_class.full_signature: public void appendNode(HierarchyMapNode node)
focal_class.identifier: appendNode
focal_class.modifiers: public
focal_class.parameters: (HierarchyMapNode node)
focal_class.return: void
focal_class.signature: void appendNode(HierarchyMapNode node)
focal_class.class_method_signature: Path.appendNode(int uid)
focal_class.full_signature: public void appendNode(int uid)
focal_class.identifier: appendNode
focal_class.modifiers: public
focal_class.parameters: (int uid)
focal_class.return: void
focal_class.signature: void appendNode(int uid)
focal_class.class_method_signature: Path.setLength(int length)
focal_class.full_signature: public void setLength(int length)
focal_class.identifier: setLength
focal_class.modifiers: public
focal_class.parameters: (int length)
focal_class.return: void
focal_class.signature: void setLength(int length)
focal_class.class_method_signature: Path.setTime(long time)
focal_class.full_signature: public void setTime(long time)
focal_class.identifier: setTime
focal_class.modifiers: public
focal_class.parameters: (long time)
focal_class.return: void
focal_class.signature: void setTime(long time)
focal_class.class_method_signature: Path.setPathAsReconstructed()
focal_class.full_signature: public void setPathAsReconstructed()
focal_class.identifier: setPathAsReconstructed
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void setPathAsReconstructed()
focal_class.class_method_signature: Path.getPathWeight(HierarchyMapGraph hGraph)
focal_class.full_signature: public long getPathWeight(HierarchyMapGraph hGraph)
focal_class.identifier: getPathWeight
focal_class.modifiers: public
focal_class.parameters: (HierarchyMapGraph hGraph)
focal_class.return: long
focal_class.signature: long getPathWeight(HierarchyMapGraph hGraph)
focal_class.class_method_signature: Path.getPathLength()
focal_class.full_signature: public int getPathLength()
focal_class.identifier: getPathLength
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getPathLength()
focal_class.class_method_signature: Path.getPathTime()
focal_class.full_signature: public long getPathTime()
focal_class.identifier: getPathTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getPathTime()
focal_class.class_method_signature: Path.getPathNodeIDs()
focal_class.full_signature: public ArrayList<Integer> getPathNodeIDs()
focal_class.identifier: getPathNodeIDs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ArrayList<Integer>
focal_class.signature: ArrayList<Integer> getPathNodeIDs()
focal_class.class_method_signature: Path.size()
focal_class.full_signature: public int size()
focal_class.identifier: size
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_class.class_method_signature: Path.reconstructPath(HierarchyMapGraph hGraph)
focal_class.full_signature: public void reconstructPath(HierarchyMapGraph hGraph)
focal_class.identifier: reconstructPath
focal_class.modifiers: public
focal_class.parameters: (HierarchyMapGraph hGraph)
focal_class.return: void
focal_class.signature: void reconstructPath(HierarchyMapGraph hGraph)
focal_class.class_method_signature: Path.getStartNodeID()
focal_class.full_signature: public int getStartNodeID()
focal_class.identifier: getStartNodeID
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getStartNodeID()
focal_class.class_method_signature: Path.getEndNodeID()
focal_class.full_signature: public int getEndNodeID()
focal_class.identifier: getEndNodeID
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getEndNodeID()
focal_class.class_method_signature: Path.toString()
focal_class.full_signature: public String toString()
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public void appendNode(HierarchyMapNode node)
  	{
  		this.validLength=false;
  		this.validTime=false;
  		this.reconstruted=false;
  		pathInHierarchyMapGraph.add(node.getUID());
  	}
focal_method.class_method_signature: Path.appendNode(HierarchyMapNode node)
focal_method.full_signature: public void appendNode(HierarchyMapNode node)
focal_method.identifier: appendNode
focal_method.invocations: add getUID
focal_method.modifiers: public
focal_method.parameters: (HierarchyMapNode node)
focal_method.return: void
focal_method.signature: void appendNode(HierarchyMapNode node)