File tree Expand file tree Collapse file tree 29 files changed +483
-15
lines changed
main/java/com/graphhopper
test/java/com/graphhopper Expand file tree Collapse file tree 29 files changed +483
-15
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .gtfs .fare ;
2
20
3
21
import java .math .BigDecimal ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .gtfs .fare ;
2
20
3
21
import com .conveyal .gtfs .model .Fare ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .gtfs .fare ;
2
20
3
21
import com .conveyal .gtfs .model .Fare ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .gtfs .fare ;
2
20
3
21
final class OriginDestinationRule extends SanitizedFareRule {
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .gtfs .fare ;
2
20
3
21
final class RouteRule extends SanitizedFareRule {
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .gtfs .fare ;
2
20
3
21
abstract class SanitizedFareRule {
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .gtfs .fare ;
2
20
3
21
import com .conveyal .gtfs .model .Fare ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .gtfs .fare ;
2
20
3
21
import java .util .*;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .gtfs .fare ;
2
20
3
21
import com .conveyal .gtfs .model .Fare ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .gtfs .fare ;
2
20
3
21
import java .util .ArrayList ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .gtfs .fare ;
2
20
3
21
import java .util .Collection ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .reader .gtfs ;
2
20
3
21
import com .graphhopper .routing .util .EdgeFilter ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .reader .gtfs ;
2
20
3
21
import com .graphhopper .routing .util .EdgeFilter ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .reader .gtfs ;
2
20
3
21
import com .conveyal .gtfs .GTFSFeed ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .reader .gtfs ;
2
20
3
21
import com .graphhopper .routing .util .DefaultEdgeFilter ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .reader .gtfs ;
2
20
3
21
import com .conveyal .gtfs .GTFSFeed ;
Original file line number Diff line number Diff line change 2
2
* Licensed to GraphHopper GmbH under one or more contributor
3
3
* license agreements. See the NOTICE file distributed with this work for
4
4
* additional information regarding copyright ownership.
5
- *
6
- * GraphHopper GmbH licenses this file to you under the Apache License,
7
- * Version 2.0 (the "License"); you may not use this file except in
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
8
* compliance with the License. You may obtain a copy of the License at
9
- *
9
+ *
10
10
* http://www.apache.org/licenses/LICENSE-2.0
11
- *
11
+ *
12
12
* Unless required by applicable law or agreed to in writing, software
13
13
* distributed under the License is distributed on an "AS IS" BASIS,
14
14
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to GraphHopper GmbH under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with this work for
4
+ * additional information regarding copyright ownership.
5
+ *
6
+ * GraphHopper GmbH licenses this file to you under the Apache License,
7
+ * Version 2.0 (the "License"); you may not use this file except in
8
+ * compliance with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
1
19
package com .graphhopper .reader .gtfs ;
2
20
3
21
import com .carrotsearch .hppc .IntArrayList ;
You can’t perform that action at this time.
0 commit comments