~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to lib/vector/neta/flow.c

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#include <stdio.h>
18
18
#include <stdlib.h>
19
19
#include <grass/gis.h>
20
 
#include <grass/Vect.h>
 
20
#include <grass/vector.h>
21
21
#include <grass/glocale.h>
22
22
#include <grass/dgl/graph.h>
23
23
#include <grass/neta.h>
157
157
   \param graph input graph
158
158
   \param source_list list of sources
159
159
   \param sink_list list of sinks
 
160
   \param flow
160
161
   \param[out] cut list of edges (cut)
161
162
 
162
163
   \return number of edges
250
251
 
251
252
   \param in from graph
252
253
   \param out to graph
253
 
   \param node_cost list of node costs
 
254
   \param node_costs list of node costs
254
255
 
255
256
   \return number of undirected edges in the graph
256
257
   \return -1 on failure