Skip to content

Commit

Permalink
Fixing some errors detected on weblate
Browse files Browse the repository at this point in the history
  • Loading branch information
cvvergara committed Sep 23, 2024
1 parent bd7b54f commit 0b78b07
Show file tree
Hide file tree
Showing 21 changed files with 35 additions and 35 deletions.
4 changes: 2 additions & 2 deletions doc/astar/pgr_aStarCost.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
pgr_aStarCost
===============================================================================

``pgr_aStarCost`` - Total cost of the shortest path(s) using the A* algorithm.
``pgr_aStarCost`` - Total cost of the shortest path using the A* algorithm.

.. figure:: images/boost-inside.jpeg
:target: https://www.boost.org/libs/graph/doc/astar_search.html
Expand All @@ -39,7 +39,7 @@ pgr_aStarCost
Description
-------------------------------------------------------------------------------

The ``pgr_aStarCost`` function sumarizes of the cost of the shortest path(s)
The ``pgr_aStarCost`` function sumarizes of the cost of the shortest path
using the A* algorithm.

**The main characteristics are:**
Expand Down
4 changes: 2 additions & 2 deletions doc/bdAstar/pgr_bdAstarCost.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
pgr_bdAstarCost
===============================================================================

``pgr_bdAstarCost`` - Total cost of the shortest path(s) using the bidirectional
``pgr_bdAstarCost`` - Total cost of the shortest path using the bidirectional
A* algorithm.

.. figure:: images/boost-inside.jpeg
Expand All @@ -40,7 +40,7 @@ A* algorithm.
Description
-------------------------------------------------------------------------------

The ``pgr_bdAstarCost`` function sumarizes of the cost of the shortest path(s)
The ``pgr_bdAstarCost`` function sumarizes of the cost of the shortest path
using the bidirectional A* algorithm.

**The main characteristics are:**
Expand Down
4 changes: 2 additions & 2 deletions doc/bdDijkstra/pgr_bdDijkstra.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
``pgr_bdDijkstra``
===============================================================================

``pgr_bdDijkstra`` — Returns the shortest path(s) using Bidirectional Dijkstra
``pgr_bdDijkstra`` — Returns the shortest path using Bidirectional Dijkstra
algorithm.

.. figure:: images/boost-inside.jpeg
Expand Down Expand Up @@ -73,7 +73,7 @@ Signatures
| pgr_bdDijkstra(`Edges SQL`_, **start vid**, **end vids**, [``directed``])
| pgr_bdDijkstra(`Edges SQL`_, **start vids**, **end vid**, [``directed``])
| pgr_bdDijkstra(`Edges SQL`_, **start vids**, **end vids**, [``directed``])
| pgr_bdDijkstra(`Edges SQL`_, `Combinations SQL`_ , [``directed``])
| pgr_bdDijkstra(`Edges SQL`_, `Combinations SQL`_, [``directed``])
| Returns set of |old-generic-result|
| OR EMPTY SET
Expand Down
2 changes: 1 addition & 1 deletion doc/bdDijkstra/pgr_bdDijkstraCost.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
``pgr_bdDijkstraCost``
===============================================================================

``pgr_bdDijkstraCost`` — Returns the shortest path(s)'s cost using Bidirectional
``pgr_bdDijkstraCost`` — Returns the shortest path's cost using Bidirectional
Dijkstra algorithm.

.. figure:: images/boost-inside.jpeg
Expand Down
2 changes: 1 addition & 1 deletion doc/bellman_ford/pgr_bellmanFord.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
``pgr_bellmanFord - Experimental``
===============================================================================

``pgr_bellmanFord`` — Shortest path(s) using Bellman-Ford algorithm.
``pgr_bellmanFord`` — Shortest path using Bellman-Ford algorithm.

.. figure:: images/boost-inside.jpeg
:target: https://www.boost.org/libs/graph/doc/bellman_ford_shortest.html
Expand Down
2 changes: 1 addition & 1 deletion doc/breadthFirstSearch/pgr_binaryBreadthFirstSearch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
``pgr_binaryBreadthFirstSearch`` - Experimental
===============================================================================

``pgr_binaryBreadthFirstSearch`` — Returns the shortest path(s) in a binary
``pgr_binaryBreadthFirstSearch`` — Returns the shortest path in a binary
graph.

Any graph whose edge-weights belongs to the set {0,X}, where 'X' is any
Expand Down
3 changes: 1 addition & 2 deletions doc/coloring/pgr_edgeColoring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ See Also
* `Boost: Edge Coloring Algorithm documentation
<https://www.boost.org/libs/graph/doc/edge_coloring.html>`__
* `Wikipedia: Graph Coloring
<https://en.wikipedia.org/wiki/Graph_coloring>`__
* `Wikipedia: Graph coloring <https://en.wikipedia.org/wiki/Graph_coloring>`__

.. see also end
Expand Down
2 changes: 1 addition & 1 deletion doc/dagShortestPath/pgr_dagShortestPath.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
pgr_dagShortestPath - Experimental
===============================================================================

``pgr_dagShortestPath`` — Returns the shortest path(s) for weighted directed
``pgr_dagShortestPath`` — Returns the shortest path for weighted directed
acyclic graphs(DAG).
In particular, the DAG shortest paths algorithm implemented by Boost.Graph.

Expand Down
2 changes: 1 addition & 1 deletion doc/dijkstra/pgr_dijkstra.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
``pgr_dijkstra``
===============================================================================

``pgr_dijkstra`` — Shortest path(s) using Dijkstra algorithm.
``pgr_dijkstra`` — Shortest path using Dijkstra algorithm.

.. figure:: images/boost-inside.jpeg
:target: https://www.boost.org/libs/graph/doc/dijkstra_shortest_paths.html
Expand Down
4 changes: 2 additions & 2 deletions doc/dijkstra/pgr_dijkstraCost.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
``pgr_dijkstraCost``
===============================================================================

``pgr_dijkstraCost`` - Total cost of the shortest path(s) using Dijkstra
``pgr_dijkstraCost`` - Total cost of the shortest path using Dijkstra
algorithm.

.. figure:: images/boost-inside.jpeg
Expand All @@ -38,7 +38,7 @@ algorithm.
Description
-------------------------------------------------------------------------------

The ``pgr_dijkstraCost`` function sumarizes of the cost of the shortest path(s)
The ``pgr_dijkstraCost`` function sumarizes of the cost of the shortest path
using Dijkstra Algorithm.

.. include:: dijkstra-family.rst
Expand Down
2 changes: 1 addition & 1 deletion doc/dijkstra/pgr_dijkstraVia.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ One Via
| OR EMPTY SET
:Example: Find the route that visits the vertices :math:`\{5, 1, 8\}` in that
order on an **directed** graph.
order on an directed graph.

.. literalinclude:: dijkstraVia.queries
:start-after: -- q01
Expand Down
11 changes: 7 additions & 4 deletions doc/max_flow/flow-family.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,18 @@ Flow Functions General Information
- When the maximum flow is 0 then there is no flow and **EMPTY SET** is
returned.

- There is no flow when a **source** is the same as a **target**.
- There is no flow when source has the same vaule as target.

- Any duplicated value in the source(s) or target(s) are ignored.
- Any duplicated values in source or target are ignored.
- Calculates the flow/residual capacity for each edge. In the output

- Edges with zero flow are omitted.

- Creates a **super source** and edges to all the source(s), and a **super
target** and the edges from all the targets(s).
- Creates

- a **super source** and edges from it to all the sources,
- a **super target** and edges from it to all the targetss.

- The maximum flow through the graph is guaranteed to be the value returned by
:doc:`pgr_maxFlow <pgr_maxFlow>` when executed with the same parameters and
can be calculated:
Expand Down
6 changes: 3 additions & 3 deletions doc/max_flow/pgr_maxFlow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ Description
**The main characteristics are:**

- The graph is **directed**.
- Calculates the maximum flow from the `source(s)` to the `target(s)`.
- Calculates the maximum flow from the sources to the targets.

- When the maximum flow is **0** then there is no flow and **0** is returned.
- There is no flow when a **source** is the same as a **target**.
- There is no flow when source has the same vaule as target.

- Any duplicated value in the source(s) or target(s) are ignored.
- Any duplicated values in source or target are ignored.
- Uses the :doc:`pgr_pushRelabel <pgr_pushRelabel>` algorithm.

* Running time: :math:`O( V ^ 3)`
Expand Down
4 changes: 2 additions & 2 deletions doc/max_flow/pgr_maxFlowMinCost_Cost.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ Description
- **The cost value of all input edges must be nonnegative.**
- When the maximum flow is 0 then there is no flow and **0** is returned.

- There is no flow when a **source** is the same as a **target**.
- There is no flow when source has the same vaule as target.

- Any duplicated value in the source(s) or target(s) are ignored.
- Any duplicated values in source or target are ignored.
- Uses :doc:`pgr_maxFlowMinCost`.

* Running time: :math:`O(U * (E + V * logV))`
Expand Down
2 changes: 1 addition & 1 deletion doc/metrics/pgr_betweennessCentrality.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Result columns
- Description
* - ``vid``
- ``BIGINT``
- Identifier of the vertex
- Identifier of the vertex.
* - ``centrality``
- ``FLOAT``
- Relative betweenness centrality score of the vertex (will be in range [0,1])
Expand Down
4 changes: 2 additions & 2 deletions doc/src/pgRouting-concepts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1010,8 +1010,8 @@ Inner Queries

There are several kinds of valid inner queries and also the columns returned are
depending of the function.
Which kind of inner query will depend on the function(s) requirements.
To simplify variety of types, **ANY-INTEGER** and **ANY-NUMERICAL** is used.
Which kind of inner query will depend on the function's requirements.
To simplify the variety of types, **ANY-INTEGER** and **ANY-NUMERICAL** is used.

.. where_definition_starts
Expand Down
2 changes: 0 additions & 2 deletions doc/src/pgRouting-installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ Get the sources
The pgRouting latest release can be found in
https://github.com/pgRouting/pgrouting/releases/latest

.. rubric:: wget

To download this release:

.. parsed-literal::
Expand Down
2 changes: 1 addition & 1 deletion doc/trsp/pgr_trspVia.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ One Via
| Returns set of |via-result|
| OR EMPTY SET
:Example: Find the route that visits the vertices :math:`\{ 5, 1, 8\}` in that
:Example: Find the route that visits the vertices :math:`\{5, 1, 8\}` in that
order on an directed graph.

.. literalinclude:: trspVia.queries
Expand Down
2 changes: 1 addition & 1 deletion doc/trsp/pgr_trsp_withPoints.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Description
-------------------------------------------------------------------------------

Modify the graph to include points defined by points_sql.
Using Dijkstra algorithm, find the shortest path(s)
Using Dijkstra algorithm, find the shortest path

Characteristics:

Expand Down
2 changes: 1 addition & 1 deletion doc/withPoints/pgr_withPoints.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Description
-------------------------------------------------------------------------------

Modify the graph to include points defined by points_sql.
Using Dijkstra algorithm, find the shortest path(s)
Using Dijkstra algorithm, find the shortest path

**The main characteristics are:**

Expand Down
4 changes: 2 additions & 2 deletions doc/withPoints/pgr_withPointsCost.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
===============================================================================

``pgr_withPointsCost`` - Calculates the shortest path and returns only the
aggregate cost of the shortest path(s) found, for the combination of points
aggregate cost of the shortest path found, for the combination of points
given.

.. include:: proposed.rst
Expand Down Expand Up @@ -43,7 +43,7 @@ Description
-------------------------------------------------------------------------------

Modify the graph to include points defined by points_sql.
Using Dijkstra algorithm, return only the aggregate cost of the shortest path(s)
Using Dijkstra algorithm, return only the aggregate cost of the shortest path
found.

The main characteristics are:
Expand Down

0 comments on commit 0b78b07

Please sign in to comment.