1
0
Fork 0
Commit Graph

2190 Commits

Author SHA1 Message Date
Lucas Dohmen c0a94a570b Added a commonNeighborsWith method to Vertex
Returns the number of common neighbors.
2012-06-16 14:58:48 +02:00
Lucas Dohmen 15b0a44aba Edge Exclusion for pathTo function
You can now exclude certain edges in your pathTo function with the
paramater `only` that expects a function that takes an edge as an
argument and returns true if and only if the edge should be used
for the path.

Use Case:
Only include edges on the path that have a rating of x or higher.
2012-06-16 14:26:26 +02:00
Lucas Dohmen 580813f006 Added Support for Weight Functions in pathTo
Instead of just selecting an attribute to get the weight of an edge,
the user can now formulate the computation of the weight of an edge
as a function that takes an edge as an argument and returns the weight.
This allows more flexible weights in the application.
2012-06-16 14:04:37 +02:00
Frank Celler 9beecf5ee4 protobug & zeromq tests 2012-06-15 14:03:54 +02:00
Heiko Kernbach e1d3078ad1 Merge branch 'devel' of github.com:/triAGENS/ArangoDB into devel 2012-06-15 11:09:33 +02:00
Heiko Kernbach 3d0dc82f9d ui changes 2012-06-15 11:09:09 +02:00
Oreste Panaia d9f7ba28cb Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-06-15 16:46:48 +08:00
Oreste Panaia 2add774ffa Fixed function name problem 2012-06-15 16:45:56 +08:00
Frank Celler 645819b361 added dummy tests 2012-06-15 09:33:17 +02:00
Frank Celler f48ac96d34 added SPIN/MUTEX flag 2012-06-14 21:37:03 +02:00
Frank Celler c4369e97b2 fixed perm 2012-06-14 21:03:06 +02:00
Frank Celler 716b720a7f added /_admin/echo 2012-06-14 20:53:48 +02:00
Frank Celler 003680bb00 fixed type of parameters field 2012-06-14 20:53:40 +02:00
Frank Celler 0c9683fb8d Merge branch 'devel' of github.com:triAGENS/ArangoDB
Conflicts:
	Makefile.in
2012-06-14 15:04:33 +02:00
Frank Celler 704f921d0f new HttpRequest 2012-06-14 15:03:17 +02:00
Heiko Kernbach 59fee44010 ui changes 2012-06-14 13:52:53 +02:00
Heiko Kernbach 3c32dd4cbb result not used 2012-06-14 11:19:50 +02:00
Jan Steemann 5bb8b5dd04 added explain output for collect statements 2012-06-14 10:09:03 +02:00
Jan Steemann 02b3757d2a added derived Makefile 2012-06-14 09:38:16 +02:00
Jan Steemann 1ee6ec85ca added missing cases for (currently unsupported) bitarray indexes. shuts up compiler warnings 2012-06-14 09:37:46 +02:00
Oreste Panaia 32911e7d38 added index iterators and started on the bitarray indexes 2012-06-14 15:09:47 +08:00
Oreste Panaia 9949c9e75c renamed sl-operator.c and sl-operator.h to index-operator.c and index-operator.h respectively 2012-06-14 10:04:41 +08:00
Frank Celler 02e8d7382f trying to get an abstact class for HttpRequest 2012-06-13 23:29:27 +02:00
Frank Celler 54826adb83 cleanup HttpRequest as prep for ZeroMQ 2012-06-13 21:51:27 +02:00
Lucas Dohmen 16acc41dce Merge branch 'devel' into graph_algorithms 2012-06-13 16:57:51 +02:00
Jan Steemann 3a815e7e32 trying to fix some compiler warning 2012-06-13 16:55:39 +02:00
Jan Steemann e85a4b0a2f trying to fix some compiler warning 2012-06-13 16:54:34 +02:00
Lucas Dohmen 46027601ac Merge branch 'devel' into graph_algorithms 2012-06-13 16:19:54 +02:00
Lucas Dohmen e41291c44d Tiny improvement: forEach instead of for 2012-06-13 16:11:26 +02:00
Frank Celler 1364ea8019 Merge branch 'devel' of github.com:triAGENS/ArangoDB 2012-06-13 15:06:32 +02:00
Frank Celler 2e7a9926f3 start with a larger initial buffer 2012-06-13 15:06:15 +02:00
Frank Celler ae2c588caa using spin locks 2012-06-13 15:01:17 +02:00
Frank Celler 2c5f7e1993 fixed typos 2012-06-13 15:01:00 +02:00
Jan Steemann 5b61e2008b fixed potential segfault on shutdown 2012-06-13 14:12:53 +02:00
Jan Steemann c27ca78769 added documentation for _api/query and _api/explain 2012-06-13 14:08:27 +02:00
Frank Celler 1c2661df3c replaced Mutex by spin 2012-06-13 14:06:26 +02:00
Lucas Dohmen aa17edce23 Refactored Vertex#getNeighbors 2012-06-13 14:01:48 +02:00
Lucas Dohmen ad91d8cdfc The weighted pathTo now also takes a default weight
The default weight is needed, when an edge doesn't
have the specified weight attribute.
The default for this default value is `Infinity`.
2012-06-13 13:48:54 +02:00
Jan Steemann 7ad822bd09 fixed documentation 2012-06-13 13:42:46 +02:00
Frank Celler 9d36e4f6e8 fixed relative path 2012-06-13 13:39:21 +02:00
Jan Steemann d7ca7ae1b7 added "official" explain API 2012-06-13 13:27:39 +02:00
Jan Steemann 2edee7a72f fixed doxygen errors 2012-06-13 13:27:24 +02:00
Frank Celler 00d1b9d0bf added /queued-version 2012-06-13 13:20:28 +02:00
Frank Celler b777deabd7 added /queued/version 2012-06-13 13:17:52 +02:00
Lucas Dohmen 7eddaa9259 Added support for weighted graphs to pathTo
The method `pathTo` now also accepts the following option:

* weight: The name of the attribute including the weight
2012-06-13 13:15:21 +02:00
Jan Steemann e3a075057f reference accesses can now use indexes 2012-06-13 12:07:29 +02:00
Lucas Dohmen f11acff837 Enhanced pathTo for directed and labelled graphs
The `pathTo` method accepts an options hash.
Currently supported:

* direction: "both", "outbound", "inbound"
* labels: undefined or Array of Strings
2012-06-13 11:55:26 +02:00
Frank Celler 79449d5d71 Merge branch 'devel' of github.com:triAGENS/ArangoDB
Conflicts:
	arangod/Ahuacatl/ahuacatl-grammar.c
2012-06-13 11:40:35 +02:00
Frank Celler 3f5b54258b partial ZeroMQ integration 2012-06-13 11:39:00 +02:00
Frank Celler fa5ba2d50f initial ZeroMQ 2012-06-13 00:13:22 +02:00