Changeset 2512 in josm for trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
- Timestamp:
- 2009-11-24T10:45:04+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
r2381 r2512 90 90 } 91 91 92 93 92 public void combineWays(Collection<Way> ways) { 94 93 … … 219 218 * This is a collection of relations referring to at least one out of a set of 220 219 * ways. 221 * 220 * 222 221 * 223 222 */ … … 230 229 231 230 /** 232 * 231 * 233 232 * @param ways a collection of ways 234 233 */ … … 246 245 /** 247 246 * build the sets of referring relations from the relations in the dataset <code>ds</code> 248 * 247 * 249 248 * @param ds the data set 250 249 */ … … 273 272 /** 274 273 * Replies the set of referring relations 275 * 274 * 276 275 * @return the set of referring relations 277 276 */ … … 286 285 /** 287 286 * Replies the set of referring relations for a specific way 288 * 287 * 289 288 * @return the set of referring relations 290 289 */ … … 412 411 } 413 412 414 415 413 static public class NodeGraph { 416 414 static public List<NodePair> buildNodePairs(Way way, boolean directed) { … … 480 478 private HashMap<Node, List<NodePair>> successors; 481 479 private HashMap<Node, List<NodePair>> predecessors; 482 483 480 484 481 protected void rememberSuccessor(NodePair pair) { … … 612 609 /** 613 610 * Tries to find a spanning path starting from node <code>startNode</code>. 614 * 611 * 615 612 * Traverses the path in depth-first order. 616 * 613 * 617 614 * @param startNode the start node 618 615 * @return the spanning path; null, if no path is found … … 641 638 * Tries to find a path through the graph which visits each edge (i.e. 642 639 * the segment of a way) exactly one. 643 * 640 * 644 641 * @return the path; null, if no path was found 645 642 */
Note:
See TracChangeset
for help on using the changeset viewer.