File tree Expand file tree Collapse file tree 5 files changed +9
-10
lines changed
core/src/main/java/com/graphhopper
tools/src/main/java/com/graphhopper/tools Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -820,15 +820,15 @@ protected RoutingAlgorithmFactory createPrepare()
820
820
* created. Note that all URL parameters are available in the weightingParameters as String if
821
821
* you use the GraphHopper Web module.
822
822
* <p>
823
- * @see Weighting.Params.create
824
- * @param wMap all parameters influencing the weighting. E.g. URL parameters coming via
825
- * GHRequest
823
+ * @see WeightingMap
824
+ * @param weightingMap all parameters influencing the weighting. E.g. parameters coming via
825
+ * GHRequest.getHints or directly via "&api.xy=" from the URL of the web UI
826
826
* @param encoder the required vehicle
827
827
* @return the weighting to be used for route calculation
828
828
*/
829
- public Weighting createWeighting ( WeightingMap wMap , FlagEncoder encoder )
829
+ public Weighting createWeighting ( WeightingMap weightingMap , FlagEncoder encoder )
830
830
{
831
- String weighting = wMap .getWeighting ();
831
+ String weighting = weightingMap .getWeighting ();
832
832
Weighting result ;
833
833
834
834
if ("shortest" .equalsIgnoreCase (weighting ))
Original file line number Diff line number Diff line change 36
36
* Calculates best path in bidirectional way.
37
37
* <p/>
38
38
* 'Ref' stands for reference implementation and is using the normal Java-'reference'-way.
39
- * <p/>
40
- * @see DijkstraBidirection for an array based but more complicated version
39
+ * <p>
41
40
* @author Peter Karich
42
41
*/
43
42
public class DijkstraBidirectionRef extends AbstractBidirAlgo
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ void writeByte( byte b )
77
77
* Writes an long in a variable-length format. Writes between one and nine bytes. Smaller values
78
78
* take fewer bytes. Negative numbers are not supported.
79
79
* <p>
80
- * The format is described further in {@link DataOutput#writeVInt(int)}.
80
+ * The format is described further in Lucene its DataOutput#writeVInt(int)
81
81
* <p/>
82
82
* See DataInput readVLong of Lucene
83
83
*/
Original file line number Diff line number Diff line change 17
17
*/
18
18
package com .graphhopper .util ;
19
19
20
+ import com .graphhopper .routing .PathBidir ;
20
21
import gnu .trove .map .hash .TIntIntHashMap ;
21
22
import java .util .Arrays ;
22
23
23
24
/**
24
25
* This class acts as a HashMap (nodes to weights) and is used to implement references from one edge
25
26
* to its parent.
26
27
* <p/>
27
- * @see DijkstraBidirection
28
+ * @see PathBidir
28
29
* @author Peter Karich
29
30
*/
30
31
@ NotThreadSafe
Original file line number Diff line number Diff line change 33
33
import java .util .zip .GZIPInputStream ;
34
34
import org .slf4j .Logger ;
35
35
import org .slf4j .LoggerFactory ;
36
- import sun .security .x509 .CRLDistributionPointsExtension ;
37
36
38
37
/**
39
38
* Reads log files and queries the live service
You can’t perform that action at this time.
0 commit comments