1
0
Fork 0
Commit Graph

515 Commits

Author SHA1 Message Date
Frank Celler 716b720a7f added /_admin/echo 2012-06-14 20:53:48 +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
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 d7ca7ae1b7 added "official" explain API 2012-06-13 13:27:39 +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
Lucas Dohmen 70ae8d84d4 Small Refactoring for pathesForTree 2012-06-12 15:38:19 +02:00
Lucas Dohmen 104b28b607 Refactored the pathesForTree method
* It's now testable
* It's now in a better OO design
2012-06-12 15:25:06 +02:00
Lucas Dohmen e3a3e5f857 Heavy refactoring of the methods for Dijkstra 2012-06-12 13:24:25 +02:00
Lucas Dohmen 33732898ce Enhanced Vertex#getNeighbors
* getNeighbors now takes the following arguments:
  * direction: 'both', 'outbound' or 'inbound'
  * pathLabels: undefined or Array of Strings
2012-06-12 12:23:09 +02:00
Jan Steemann d84193bce7 explain & optimizer 2012-06-11 17:55:09 +02:00
Frank Celler cc1853688c Merge branch 'devel' of github.com:triAGENS/ArangoDB
Conflicts:
	RestServer/ArangoServer.cpp
	V8Client/arangosh.cpp
2012-06-07 18:00:57 +02:00
Frank Celler 6675e8da2b Merge pull request #102 from jsteemann/master
potential solution for issue #95 (execute jslint)
2012-06-07 08:49:59 -07:00
Lucas Dohmen ea13cfac51 Renamed all occurrences of node to vertex... 2012-06-06 19:14:21 +02:00
Lucas Dohmen 933bc293b6 Added documentation for all pathTo helper functions 2012-06-06 19:11:53 +02:00
Lucas Dohmen 0433236c8b Graph.js: Lint-Free 2012-06-06 18:49:43 +02:00
Frank Celler 203a7006c0 Merge branch 'devel' of github.com:triAGENS/ArangoDB 2012-06-06 18:32:45 +02:00
Lucas Dohmen 020aa12c35 Dijkstra: Finds all shortest pathes now
* Previously only found one shortest path
* Returns the same results as Neo4j
2012-06-06 18:09:57 +02:00
Jan Steemann 7d84873f4f added test cases for ref access 2012-06-06 16:20:23 +02:00
Jan Steemann c21659fbac added more test cases for index access 2012-06-06 15:57:38 +02:00
Lucas Dohmen a41ff384ab Dijkstra finds pathes of correct length. 2012-06-06 14:57:57 +02:00
Frank Celler 6063327d04 fixed --quite for shell, fixed command line for unit-tests 2012-06-06 14:19:47 +02:00
Jan Steemann cfccab47eb issue #100: "count" attribute exists in cursor response with "count: false" 2012-06-06 09:54:39 +02:00
Jan Steemann 60429b39eb issue #100: "count" attribute exists in cursor response with "count: false" 2012-06-06 08:59:55 +02:00
Jan Steemann 0da201adb5 potential fix for issue #100 2012-06-05 09:59:15 +02:00
Frank Celler 0726789ab0 Merge branch 'devel' of github.com:triAGENS/ArangoDB
Conflicts:
	.gitignore
	Ahuacatl/ahuacatl-codegen.h
2012-06-02 11:20:47 +02:00
Frank Celler fe2337b7d4 Merge branch '1.0' of github.com:triAGENS/ArangoDB
Conflicts:
	configure
2012-06-02 11:15:29 +02:00
Frank Celler 7c7d378fb1 preparation for mruby console 2012-06-02 11:13:57 +02:00
Jan Steemann 15a504d023 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-06-01 13:21:20 +02:00
Heiko Kernbach 6a8c0c2400 test suite 2012-06-01 10:33:18 +02:00
Jan Steemann 11612dbe15 fixed a segfault with some broken queries 2012-06-01 09:12:14 +02:00
Jan Steemann bde11ec3b0 added dedicated test cases for arangosh-only functions 2012-05-31 17:49:49 +02:00
Jan Steemann 57fb43fe1e fixed broken functions and help texts in arangosh 2012-05-31 17:32:35 +02:00
Jan Steemann d506033c26 fixed help in arangosh and web admin, fixed several broken functions 2012-05-31 17:30:42 +02:00
Jan Steemann 3ca1e598e2 fixed help in arangosh 2012-05-31 16:46:28 +02:00
Jan Steemann 164b63f7a6 handling special case for empty strings in contains() 2012-05-31 16:25:27 +02:00
Heiko Kernbach 030ba0f2e2 ahuacatl-contains 2012-05-31 14:15:46 +02:00
Jan Steemann 2b841bacf7 contains() 2012-05-31 13:15:00 +02:00
Jan Steemann 0ef03fc006 mini cleanup 2012-05-28 22:10:03 +02:00
Jan Steemann 6f7e11e46c potential solution for issue #95 2012-05-28 22:01:32 +02:00
Jan Steemann 68db2dc0b5 test case for issue #97 2012-05-28 20:52:00 +02:00
Frank Celler 86fcb881e9 fixed === and !== and == and != 2012-05-25 15:33:35 +02:00
Lucas Dohmen a1cf1017c5 Passes the Neo4j 500 Length Test now. 2012-05-25 15:25:13 +02:00
Frank Celler b2d521ee35 cleanup action queues 2012-05-25 14:28:27 +02:00
Frank Celler a0cd51d2fc moved /document => /_api/document 2012-05-25 12:21:02 +02:00
Frank Celler 1e3ab217f3 Merge branch 'devel' of github.com:triAGENS/ArangoDB 2012-05-25 00:26:50 +02:00
Frank Celler a0d19953e2 removed globals 2012-05-25 00:26:36 +02:00