Michael Hackstein
|
4a2c33eafc
|
Replaced setStartVertex(Slice) by setStartVertex(string) in Traversal and fixed all resulting compile errors. It now compiles but is not Functional yet. Have to implement reading of Documents from DB in TRX / VPack Style
|
2016-03-16 11:12:27 +01:00 |
Michael Hackstein
|
7113e93c67
|
Finished with Shortest Path Implementation based on new TRX and VPack API
|
2016-03-15 20:48:02 +01:00 |
Michael Hackstein
|
6bcbf1241b
|
Started reimplementing ShortestPath wth new transactions and VPack
|
2016-03-15 18:34:37 +01:00 |
Michael Hackstein
|
23f845de05
|
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
|
2016-03-10 10:46:30 +01:00 |
Michael Hackstein
|
4c4c117059
|
Partially Adopted Traverser to new transaction API. This is still work in Progress. It compiles but it will not work yet.
|
2016-03-10 10:42:20 +01:00 |
jsteemann
|
a7450eb65f
|
removed some includes
|
2016-03-09 22:21:08 +01:00 |
Michael Hackstein
|
ecbab4e2da
|
Removed duplicate functionality from functions.cpp. Also Simplified the example matcher to not use Resolver and Shaper any more
|
2016-03-09 12:43:04 +01:00 |
jsteemann
|
d756f6a176
|
removed TRI_transaction_collection_t from public APIs
|
2016-03-09 01:51:17 +01:00 |
Jan Steemann
|
ad4a9542ea
|
removed file
|
2016-03-04 18:32:54 +01:00 |
Jan Steemann
|
c157363f3c
|
less dependencies
|
2016-03-04 17:21:09 +01:00 |
Michael Hackstein
|
d95c4954a4
|
Removed shape from ExampleMatcher. Also TRI_json_t variant is non functional anymore. It is DEPRECATED and will be removed very very soon
|
2016-03-02 15:46:32 +01:00 |
Michael Hackstein
|
7174a6225f
|
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
|
2016-02-26 13:32:10 +01:00 |
Michael Hackstein
|
ac173ca497
|
The Edge Index now indexes with VPackSlice instead of TRI_edge_header_t. Some functions that were using the Edge Index are disabled and will not work. These functions have to be modified to use the new Transaction API.
|
2016-02-26 13:31:10 +01:00 |
Jan Steemann
|
ebf2d1520b
|
removed TRI_doc_mptr_copy_t
|
2016-02-26 11:46:33 +01:00 |
Jan Steemann
|
a27f1efd66
|
changed resolver handling
|
2016-02-23 20:27:13 +01:00 |
Jan Steemann
|
0a969caf23
|
removed SingleCollectionReadOnlyTransaction and SingleCollectionWriteTransaction
|
2016-02-23 11:05:44 +01:00 |
Max Neunhoeffer
|
393ac7e753
|
Rename getCollectionId -> getCollectionIdLocal.
|
2016-02-19 23:26:17 +01:00 |
Jan Steemann
|
a3b0bb83d1
|
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
|
2016-02-16 15:39:02 +01:00 |
Jan Steemann
|
313f27deed
|
renamed methods
|
2016-02-15 18:18:03 +01:00 |
Michael Hackstein
|
f5d93fb872
|
Implemented AQL EDGES as a VPack Variant.
|
2016-02-05 16:18:21 +01:00 |
Michael Hackstein
|
96b75d3733
|
Added a VPack Implementation for AQL Neighbors. This involved modification of Traverser and ExampleMather to understand VPack as well
|
2016-02-05 08:45:20 +01:00 |
Michael Hackstein
|
e0455850fc
|
Replaced doc_mptr_copy with doc_mptr which is the correct type in this case.
|
2016-02-01 11:40:18 +01:00 |
jsteemann
|
ae25d2b53b
|
removed `using namespace std`
|
2016-01-31 18:22:00 +01:00 |
Michael Hackstein
|
582f1f46f0
|
Preparation for multi-direction traversals. As requested in #1683. Internal traverser can now work with one direction per collection. Next: AQL needs to learn this too.
|
2016-01-28 14:07:50 +01:00 |
Jan Steemann
|
9046e1831b
|
clang-format
|
2016-01-27 13:43:46 +01:00 |
Jan Steemann
|
6b19a7b0a7
|
fixes ported from 2.8
|
2016-01-21 16:40:31 +01:00 |
Jan Steemann
|
58410da019
|
another fix for Visual Studio
|
2016-01-21 09:53:11 +01:00 |
jsteemann
|
842384016d
|
namespace cleanup
|
2016-01-21 00:20:22 +01:00 |
Michael Hackstein
|
1fc685e557
|
Fixed unitialized warning of compiler. Situation could never occur
|
2016-01-19 15:08:57 +01:00 |
jsteemann
|
431900f17a
|
changed namespace from triagens to arangodb
|
2016-01-17 00:44:53 +01:00 |
Jan Steemann
|
687d6133f0
|
comments reformatting
|
2016-01-11 09:52:39 +01:00 |
jsteemann
|
9f0576c65f
|
don't rely so much on namespace std being present
|
2016-01-08 01:05:06 +01:00 |
Jan Steemann
|
3ad20c0cae
|
auto-generated headers
|
2016-01-06 18:41:51 +01:00 |
Jan Steemann
|
a3b026d9d1
|
removed useless sections from code, unified include guards
|
2016-01-06 14:15:22 +01:00 |
Jan Steemann
|
f422576ee0
|
clang-format
|
2016-01-05 17:43:24 +01:00 |
Max Neunhoeffer
|
394057fbda
|
Merge branch 'devel' into vpack
|
2015-12-23 15:09:20 +01:00 |
Jan Steemann
|
e62ccf7a46
|
added Ditches for traversal
|
2015-12-23 11:43:24 +01:00 |
Jan Steemann
|
2b3f3f997b
|
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
|
2015-12-17 10:59:30 +01:00 |
Jan Steemann
|
8e18d6463f
|
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
|
2015-12-16 11:44:56 +01:00 |
Michael Hackstein
|
c475822a76
|
Adapted V8Traverser to class version of TRI_col_info_t
|
2015-12-16 11:43:44 +01:00 |
Jan Steemann
|
a694b7ef48
|
make_unique
|
2015-12-16 11:36:35 +01:00 |
Michael Hackstein
|
e6e66d4469
|
Fixed a bug in Traversal Path Uniqueness.
|
2015-12-16 10:51:54 +01:00 |
Michael Hackstein
|
fbbe4d08cd
|
Implemented edges on path uniqueness on single server traversal
|
2015-12-15 18:04:28 +01:00 |
Jan Steemann
|
5c033f566b
|
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
|
2015-12-04 13:47:08 +01:00 |
Michael Hackstein
|
9495117238
|
Fixed invalid traversal optimization if vertex is not existing but filter would let null pass
|
2015-12-04 11:21:15 +01:00 |
Jan Steemann
|
b8cd633276
|
Windows fixes
|
2015-12-03 15:00:19 +01:00 |
Michael Hackstein
|
23e2ac5da7
|
Fixed status reporting for Cluster and Single Server Case for the AQL Traverser Node.
|
2015-12-02 17:20:09 +01:00 |
Michael Hackstein
|
1a13af6f36
|
Merged remote changes with local stash
|
2015-12-02 11:34:58 +01:00 |
Jan Steemann
|
9497ca9c7c
|
fixed memleaks
|
2015-12-01 17:07:32 +01:00 |
Jan Steemann
|
2bbcaa868f
|
fixed invalid memory usages
|
2015-12-01 16:48:55 +01:00 |
Michael Hackstein
|
a7b7d1ec18
|
Adapted traverser implementations to new Path Enumerator for improved pruning
|
2015-11-27 16:25:02 +01:00 |
Jan Steemann
|
75e4e6e815
|
added transaction to all signatures
|
2015-11-24 17:34:23 +01:00 |
Michael Hackstein
|
aa8e1daaf7
|
Moved String->VertexId conversion into the general traverser. It is required outside of V8Server
|
2015-11-24 10:24:19 +01:00 |
Michael Hackstein
|
001dd4debf
|
The local traverser now early filters on vertices
|
2015-11-18 16:14:17 +01:00 |
Michael Hackstein
|
201c54e6b0
|
Removed unnecessary constructors
|
2015-11-18 15:32:04 +01:00 |
Michael Hackstein
|
1f6519b01e
|
Using early abortion in local Traverser for AQL. Now it's cluster time
|
2015-11-18 14:50:03 +01:00 |
Michael Hackstein
|
f880592025
|
Used the TraverserExpression in Local case for Edges. Right now it fails hardcoded.
|
2015-11-18 11:26:55 +01:00 |
Michael Hackstein
|
0adbef4f76
|
Transformed the TraversalExpression vector into a map ordered by access level. This is way more convenient on the Traverser side to be used.
|
2015-11-17 16:25:45 +01:00 |
Michael Hackstein
|
5eaf990405
|
Fixed converting VertexId -> String in Cluster
|
2015-11-16 20:13:44 +01:00 |
Michael Hackstein
|
e24135df09
|
Extracted some more common functionality from V8 and Cluster Traverser to the abstract class
|
2015-11-13 14:54:32 +01:00 |
Michael Hackstein
|
8d0d921ab6
|
Included two Abstract classes for Traversals. Traverser and TraversalPath. Implemented both of them for Single-Server Traversals.
|
2015-11-12 16:25:36 +01:00 |
Wilfried Goesgens
|
cd6cc35def
|
Adjust the stage to the now non-void pointered index implementation.
|
2015-10-22 11:12:21 +02:00 |
Frank Celler
|
c4d1fff729
|
new traversal
|
2015-09-18 10:40:28 +02:00 |
Jan Steemann
|
6d7ccd7699
|
move shaper to cxx
|
2015-07-28 17:38:31 +02:00 |
Michael Hackstein
|
89ca3f68b9
|
Fixed edgeExamples in CPPOnly Neighbors function
|
2015-07-23 16:08:32 +02:00 |
Michael Hackstein
|
84174aa99a
|
Added edgeExamples functionality to CPPonly Neighbors.
|
2015-07-23 15:25:50 +02:00 |
Michael Hackstein
|
f92c3b21ce
|
Removed the duplicate distinct / result listing in Neighbors
|
2015-07-22 17:11:38 +02:00 |
Jan Steemann
|
354b20d559
|
use references
|
2015-07-14 13:52:12 +02:00 |
Michael Hackstein
|
df33ffe410
|
Added an implementation for shortest path which allows to take shortcuts iff we do not have to access the data, f.e. filtering or distances. Gives an enormous speedup.
|
2015-07-13 11:31:42 +02:00 |
Jan Steemann
|
ffab0ef47d
|
renamed file
|
2015-06-18 17:29:49 +02:00 |
Jan Steemann
|
f5f719360c
|
added out-of-bounds checking for _heap and _history
|
2015-06-10 18:04:17 +02:00 |
Jan Steemann
|
a51c258bf5
|
fixed memleaks
|
2015-06-01 14:56:14 +02:00 |
Michael Hackstein
|
99afc6ec87
|
CXX ExampleMatcher learned about internal attributes. This makes all AQL-Graph tests pass again ;)
|
2015-05-30 00:00:49 -07:00 |
Michael Hackstein
|
e28eedf706
|
Made the depth always unsigned.
|
2015-05-28 16:05:29 -07:00 |
Michael Hackstein
|
f15e56171b
|
Implemented min/maxDepth for neighbors in CPP layer. And removed the option for non-distinct neighbors.
|
2015-05-28 15:10:14 -07:00 |
Michael Hackstein
|
5e5c5fca70
|
Added neighbor examples and edge examples to CXX Neighbors. The ExampleMatcher is NOT able to match internal attributes yet.
|
2015-05-27 13:40:30 -07:00 |
Michael Hackstein
|
8b1cef7f76
|
CPP Neighbors is now able to take an array of examples instead of only a single one.
|
2015-05-26 09:51:04 -07:00 |
Michael Hackstein
|
76c33a577c
|
Neighbors is now able to take exactly one edge example onto the CPP level. Now working on a list of examples
|
2015-05-25 12:39:44 -07:00 |
Max Neunhoeffer
|
ad7b73480f
|
Make CPP_NEIGHBORS more flexible.
|
2015-05-23 20:10:16 -07:00 |
Michael Hackstein
|
0b8e9eb59c
|
Fixed minor inconsistency in AQL NEIGHBORS and adapted tests to the new version. It will now Return the list of vertices. not the pair<edge, vertex> any more
|
2015-05-22 15:30:24 -07:00 |
Jan Steemann
|
d4285fc6fd
|
fix Visual Studio compile warnings
|
2015-05-20 16:12:30 +02:00 |
Michael Hackstein
|
8494ddb85d
|
The shortest_path now allows to use vertexExample and edgeExamples. Also it allows t add additional vertex and edge collections in the options. If you want to use vertexExample and your edge collection is pointing to other vertex collections then the on in the first parameter you have to give the additional collection in the options
|
2015-05-19 14:26:14 -07:00 |
Michael Hackstein
|
d832a7579a
|
The new shortest path is now able to take exactly one edge example. Has to be improved to use a list of examples
|
2015-05-15 15:08:17 -07:00 |
Michael Hackstein
|
7ba7482d58
|
Implemented an ExampleMatcher class to be used for path filtering. Is now used in byExample queries as well. API not fixed yet.
|
2015-05-14 13:29:42 -07:00 |
Michael Hackstein
|
3b3a28e16a
|
The CPP shortest path can now live with non existent vertices and even with non existent vertex collections (dropped after edge creation but before path computation)
|
2015-05-12 15:39:04 -07:00 |
Michael Hackstein
|
c785388366
|
Shortest path is now able to either return data or ids. Also if collections not known beforehand are found on the path
|
2015-05-12 12:07:11 -07:00 |
Michael Hackstein
|
efaccccb4e
|
The Shortest path is now able to handle graphs with several vertex collections, but only one edge collection.
|
2015-05-10 20:38:25 -07:00 |
Michael Hackstein
|
3cbac8ae25
|
The Neighbors can now be requested distinct. However this is not introduced to AQL due to missing options parameter, would change API
|
2015-05-07 17:17:18 -07:00 |
Michael Hackstein
|
323d34f629
|
The new CPP neighbors now take all three directions
|
2015-05-07 16:33:05 -07:00 |
Michael Hackstein
|
aef5432d31
|
Allowed he neighbors function to switch between data and ids only
|
2015-05-06 16:00:35 -07:00 |
Michael Hackstein
|
b89c28e141
|
Now allows the new CPP traversal to contain the vertex data. Edgedata is yet to come
|
2015-05-05 22:49:37 -07:00 |
Michael Hackstein
|
4c7b9459d5
|
The cpp shortest path now returns _id instead of _key. First implementation of cpp neighbors. Returns only vertexIds now.
|
2015-05-03 00:13:30 -07:00 |
Michael Hackstein
|
ca0de62aa3
|
Moved all v8 context sensitive parts into from V8Traverser v8-vocbase
|
2015-05-02 21:46:54 -07:00 |
Max Neunhoeffer
|
97f7743d84
|
Less copying in Traverser.
|
2015-05-02 06:28:52 +02:00 |
Michael Hackstein
|
91fa1cb6f8
|
Merge branch 'cppTrav3' of github.com:/arangodb/arangodb into cppTrav
|
2015-05-01 17:08:56 -07:00 |
Michael Hackstein
|
9edb48b1cf
|
Made everything compile again
|
2015-05-01 17:07:02 -07:00 |
Michael Hackstein
|
13e765f6d9
|
Further reduced copying in Traverser
|
2015-05-01 16:18:45 -07:00 |
Michael Hackstein
|
73db004a85
|
Reduced string copy in traverser
|
2015-05-01 14:49:31 -07:00 |
Max Neunhoeffer
|
24d04148c8
|
Schaltbar.
|
2015-05-01 10:30:30 -07:00 |
Michael Hackstein
|
ed7666e81e
|
Improved code readablity and implemented a distance attribute based weighting function
|
2015-04-27 23:58:07 -07:00 |