This is a compact pyvgx reference. A complete reference is also available.
1. Basics
1.1. Tutorial
| N | Topic | Description |
|---|---|---|
1 |
How to download and install the software |
|
2 |
How to initialize and create a new graph |
|
3 |
How to create arcs between vertices |
|
4 |
What are initial and terminal vertices? |
|
5 |
What are arcs? |
|
6 |
What are virtual and real vertices? |
|
7 |
Perform a simple neighborhood query |
|
8 |
Build a more complex graph and run queries |
1.2. Example
# Create a new graph
from pyvgx import *
g = Graph( "test" )
# Create vertices
g.CreateVertex( "Alice", type="person" )
g.CreateVertex( "Bob", type="person" )
g.CreateVertex( "Charlie", type="person" )
g.CreateVertex( "apples", type="fruit" )
g.CreateVertex( "oranges", type="fruit" )
# Make connections
g.Connect( "Alice", "knows", "Bob" )
g.Connect( "Alice", "knows", "Charlie" )
g.Connect( "Alice", "likes", "apples" )
g.Connect( "Bob", "likes", "oranges" )
# Does Alice know anyone who likes oranges?
g.Neighborhood(
id = "Alice",
arc = ("knows", D_OUT),
neighbor = {
'adjacent' : {
'arc' : ("likes", D_OUT),
'neighbor' : "oranges"
}
}
) # -> ['Bob']
2. pyvgx
2.1. pyvgx Functions
| N | Function | Description |
|---|---|---|
1 |
Register a plugin function that may be called via HTTP |
|
2 |
Stop any ongoing synchronization activity |
|
3 |
Make all graphs writable |
|
4 |
Return the number of readonly graphs |
|
5 |
Remove a graph from memory |
|
6 |
Return HTTP server dispatcher config dict |
|
7 |
Return the most recent durable transaction |
|
8 |
Check if one or more graphs have TTL suspended |
|
9 |
Return a digest string representing the state of all loaded graph data |
|
10 |
Return builtin plugin functions |
|
11 |
Return a graph instance without taking ownership |
|
12 |
Return user defined plugin functions |
|
13 |
Return a dict of all system properties |
|
14 |
Get a system property |
|
15 |
Check if a system property exists |
|
16 |
Initialize library |
|
17 |
Check if library is initialized |
|
18 |
Return memory information |
|
19 |
Return the number of system properties |
|
20 |
Persist all loaded graphs to disk |
|
21 |
All graphs loaded in memory |
|
22 |
Remove a user defined plugin function |
|
23 |
Remove all system properties |
|
24 |
Remove a system property |
|
25 |
Send HTTP request a remote service |
|
26 |
Return requests per second for HTTP Server A (main) |
|
27 |
Reset HTTP server metrics to their initial state |
|
28 |
Restart already running HTTP server |
|
29 |
Resume TTL for all graphs |
|
30 |
Graph root directory |
|
31 |
Enter infinite loop until SIGINT |
|
32 |
Return HTTP server ip address |
|
33 |
Return HTTP server host |
|
34 |
Return HTTP server metrics |
|
35 |
Return HTTP server ports |
|
36 |
Return HTTP server prefix |
|
37 |
Service-in (or out) HTTP server plugin execution |
|
38 |
Set multiple system properties |
|
39 |
Set a system property |
|
40 |
Make all graphs readonly |
|
41 |
Start the VGX HTTP Service |
|
42 |
Return dict with various system status information |
|
43 |
Stop the VGX HTTP Service |
|
44 |
Stop TTL for all graphs |
|
45 |
Send all graph data to attached subscribers |
|
46 |
Return the system graph |
|
47 |
Reset system to uninitialized state |
|
48 |
Return the total number of writable vertices in all loaded graphs |
|
1 |
Allow execution of opcode(s) |
|
2 |
Transmit state-assert operation |
|
3 |
Establish connection to remote subscriber(s) |
|
4 |
Return list of subscriber(s) |
|
5 |
Start VGX Transaction Service |
|
6 |
Return VGX Transaction Service run state |
|
7 |
Submit operation data for execution |
|
8 |
Return dict of operation I/O counters |
|
9 |
Return CRC32-c checksum of tokenized operation data |
|
10 |
Prevent execution of opcode(s) |
|
11 |
Disconnect attached connections |
|
12 |
Flush pending transactions to output stream and confirm |
|
13 |
Return default URI(s) |
|
14 |
Enable or disable transmission of tic opcode |
|
15 |
Return number of bytes not yet processed by op parser |
|
16 |
Inject message string into operation output stream |
|
17 |
Inject arbitrary data into operation output stream |
|
18 |
Apply opcode execution profile |
|
19 |
Reset operation parser and transaction serial number counter |
|
20 |
Resume production of operation transaction data |
|
21 |
Resume modification of subscriber state via incoming transactions |
|
22 |
Resume transaction output from provider to attached subscribers |
|
23 |
Register default URI(s) |
|
24 |
Enable or disable strictly increasing S/N in op parser |
|
25 |
Send request to become a VGX subscriber (destination) |
|
26 |
Suspend production of operation transaction data |
|
27 |
Pause modification of subscriber state caused by incoming transactions |
|
28 |
Pause transaction output from provider to attached subscribers |
|
29 |
Limit processing rate of data submitted with |
|
30 |
Return supplied URI as a tuple of parsed URI elements |
|
31 |
Stop VGX Transaction Service |
|
32 |
Detach from VGX provider |
|
33 |
Enable or disable CRC validation in op parser |
|
1 |
Enable automatic timestamps for arcs |
|
2 |
Return AVX version used when creating pyvgx libraries |
|
3 |
Return a compressed, serialized object |
|
4 |
Run x86-64 cpuid instruction |
|
5 |
CRC32-c checksum of string |
|
6 |
Return string from utf8 bytes |
|
7 |
Return an object from compressed data |
|
8 |
Return an object from serialized data |
|
9 |
Allow selftest functions to run |
|
10 |
Return utf8 bytes from string |
|
11 |
128-bit hash of integer |
|
12 |
64-bit hash of integer |
|
13 |
Initialize basic internal plugins |
|
14 |
Output DEBUG log message |
|
15 |
Output ERROR log message |
|
16 |
Output INFO log message |
|
17 |
Output a timestamped message |
|
18 |
Output WARNING log message |
|
19 |
Return basic system memory information |
|
20 |
Number of bits set to 1 in an integer |
|
21 |
Execute basic system performance benchmark |
|
22 |
Return a random string |
|
23 |
Run internal self test |
|
24 |
Run all internal self tests |
|
25 |
Return a serialized object |
|
26 |
Redirect log output to file |
|
27 |
sha256 of string |
|
28 |
128-bit hash of string |
|
29 |
64-bit hash of string |
|
30 |
Thread ID of current thread |
|
31 |
Initialize current thread’s random generators with unique seeds |
|
32 |
Assign label to current thread |
|
33 |
Number of seconds since system start |
|
34 |
Tokenize text |
|
35 |
Tokenize and normalize text |
|
36 |
Library version |
|
37 |
Return VGX Expression Language functions and constants |
|
2.2. pyvgx Objects
| Constant | Description |
|---|---|
Built-in Similarity object for use with vectors not associated with a graph |
2.3. pyvgx Constants
| N | Constant | Description |
|---|---|---|
1 |
Any direction |
|
2 |
Both |
|
3 |
In |
|
4 |
Out |
|
1 |
Accumulator |
|
2 |
Any modifier |
|
3 |
Counter |
|
4 |
Distance |
|
5 |
Single precision float |
|
6 |
Float aggregation |
|
7 |
Signed 32-bit integer |
|
8 |
Integer aggregation |
|
9 |
Bit pattern for hamming distance matching |
|
10 |
Similarity |
|
11 |
Static |
|
12 |
Creation time |
|
13 |
Modification time |
|
14 |
Expiration time |
|
15 |
Unsigned 32-bit integer |
|
1 |
Any value |
|
2 |
Dynamic within additive value deviation |
|
3 |
Dynamic equal |
|
4 |
Dynamic greater than |
|
5 |
Dynamic greater than or equal |
|
6 |
Dynamic less than |
|
7 |
Dynamic less than or equal |
|
8 |
Dynamic not equal |
|
9 |
Dynamic within multiplicative value deviation |
|
10 |
Equal |
|
11 |
Greater than |
|
12 |
Greater than or equal |
|
13 |
Less than |
|
14 |
Less than or equal |
|
15 |
Not equal |
|
16 |
Value outside range |
|
17 |
Value within range |
|
1 |
Collect arcs |
|
2 |
No collect |
|
3 |
No collect, continue after first match |
|
1 |
Arc fields plus tail and head identifiers |
|
2 |
Memory address |
|
3 |
All fields |
|
4 |
Tail identifier |
|
5 |
Tail internalid |
|
6 |
Arc fields plus head identifier |
|
7 |
Arc direction |
|
8 |
Default fields |
|
9 |
Degree |
|
10 |
All degree fields |
|
11 |
Descriptor |
|
12 |
Internal details |
|
13 |
Hamming distance |
|
14 |
Object handle |
|
15 |
Identifier |
|
16 |
Indegree |
|
17 |
Arc modifier |
|
18 |
All identifiers and types |
|
19 |
No fields |
|
20 |
Internalid |
|
21 |
Outdegree |
|
22 |
All arc fields |
|
23 |
Properties |
|
24 |
Properties and vector |
|
25 |
Rank score |
|
26 |
Raw bytes |
|
27 |
Arc relationship type |
|
28 |
Similarity and hamming distance |
|
29 |
Similarity score |
|
30 |
Creation time |
|
31 |
Modification time |
|
32 |
Expiration time |
|
33 |
All timestamps |
|
34 |
Type |
|
35 |
Arc value |
|
36 |
Vector |
|
1 |
Include hit counts in result |
|
2 |
Default result format |
|
3 |
Dictionary with all selected fields |
|
4 |
List of all selected fields |
|
5 |
Include timing and hit counts in result |
|
6 |
Simple representation of a single field (earliest display order) |
|
7 |
Single string entry representing all selected fields |
|
8 |
Include timing details in result |
|
1 |
Sort by vertex memory address |
|
2 |
Sort by anchor vertex identifier string |
|
3 |
Sort by anchor vertex internalid |
|
4 |
Sort ascending |
|
5 |
Sort by vertex degree |
|
6 |
Sort descending |
|
7 |
Sort by hamming distance |
|
8 |
Sort by vertex identifier string |
|
9 |
Sort by vertex indegree |
|
10 |
No sorting (but traverse all to compute counts) |
|
11 |
No sorting |
|
12 |
Sort by vertex internalid |
|
13 |
Sort by vertex outdegree |
|
14 |
Sort in random order |
|
15 |
Sort by rank score |
|
16 |
Sort by similarity score |
|
17 |
Sort by vertex creation time |
|
18 |
Sort by vertex modification time |
|
19 |
Sort by vertex expiration time |
|
20 |
Sort by arc value |
|
1 |
Largest timestamp (Thu Dec 31 23:59:59 2099) |
|
2 |
Smallest timestamp (Thu Jan 01 00:00:01 1970) |
|
3 |
Infinite future |
|
1 |
-1 |
|
2 |
-2 |
|
3 |
-3 |
|
4 |
-4 |
|
1 |
No operation |
|
2 |
New vertex |
|
3 |
Delete vertex |
|
4 |
Set vertex rank |
|
5 |
Set vertex type |
|
6 |
Set vertex expiration |
|
7 |
Convert vertex manifestation |
|
8 |
Set vertex property |
|
9 |
Delete vertex property |
|
10 |
Clear vertex properties |
|
11 |
Set vertex vector |
|
12 |
Delete vertex vector |
|
13 |
Delete vertex outarcs |
|
14 |
Delete vertex inarcs |
|
15 |
Acquire vertex write lock |
|
16 |
Release vertex write lock |
|
17 |
Create arc |
|
18 |
Delete arc |
|
19 |
System attach |
|
20 |
System detach |
|
21 |
Clear registry |
|
22 |
Configure similarity |
|
23 |
New graph |
|
24 |
Delete graph |
|
25 |
Send data as comment |
|
26 |
Send raw data |
|
27 |
Clone graph |
|
28 |
Truncate graph |
|
29 |
Persist graph |
|
30 |
Assert graph state |
|
31 |
Set graph readonly |
|
32 |
Set graph writable |
|
33 |
Enable background TTL |
|
34 |
Disable background TTL |
|
35 |
Heartbeat |
|
36 |
Execute all due TTL events |
|
37 |
Acquire multiple vertex write locks atomically |
|
38 |
Release multiple vertex write locks atomically |
|
39 |
Release all vertex write locks atomically |
|
40 |
Add vertex type enumeration |
|
41 |
Remove vertex type enumeration |
|
42 |
Add relationship enumeration |
|
43 |
Remove relationship enumeration |
|
44 |
Add vector dimension enumeration |
|
45 |
Remove vector dimension enumeration |
|
46 |
Add property key enumeration |
|
47 |
Remove property key enumeration |
|
48 |
Add property string value enumeration |
|
49 |
Remove property string value enumeration |
|
1 |
All opcodes modifying an existing object value: vxr, vxt, vxx, vxc. |
|
2 |
All opcodes creating a new object: vxn, vps, vvs, arc, scf, clg, grn, vea, rea, dea, kea, sea. |
|
3 |
All opcodes deleting an object: vxd, vpd, vpc, vvd, vod, vid, ard, rcl, grd, grt, ved, red, ded, ked, sed. |
|
4 |
Opcodes that communicate various actions: nop, com, dat, grp, grs, tic, evx. |
|
1 |
Opcodes that affect a single object: nop, vxn, vxd,vxr, vxt, vxx, vxc, vps, vpd, vvs, vvd, val, vrl, arc, scf, grn, grd, com, dat, clg, grt, grp, grs, grr, grw, gre, gri, tic, evx, vea, ved, rea, red, dea, ded, kea, ked, sea, sed. |
|
2 |
Opcodes that affect multiple objects: vpc, vod, vid, val, ard, sya, syd, rcl, lxw, ulv, ula. |
|
1 |
Opcodes that target vertex objects: vxn, vxd, vxr, vxt, vxx, vxc, vps, vpd, vpc, vvs, vvd, vod, vid, val, vrl. |
|
2 |
||
3 |
Opcodes that target the system: sya, syd, rcl, scf, com, dat, clg. |
|
4 |
||
5 |
||
6 |
||
7 |
Opcodes that target graph timer: tic. |
|
8 |
Opcodes that target mass-execution: evx. |
|
9 |
Opcodes that change the write lock state of vertices: lxw, ulv, ula. |
|
10 |
Opcodes that target enumerations: vea, ved, rea, red, dea, ded, kea, ked, sea, sed. |
|
1 |
All opcodes |
|
1 |
Filter profile suitable for a vgx consumer instance: vxn, vxd, vxr, vxt, vxx, vxc, vps, vpd, vpc, vvs, vvd, vod, vid, val, vrl, arc, ard, scf, com, dat, grn, tic, lxw, ulv, ula, vea, ved, rea, red, dea, ded, kea, ked, sea, sed.
|
|
2.4. pyvgx Exceptions
| N | Exception | Description |
|---|---|---|
1 |
Vertex cannot be accessed |
|
2 |
Arc specification is invalid or arc cannot be deleted |
|
3 |
Bad configuration or corrupted data found. |
|
4 |
Error when mapping between external and internal data representation |
|
5 |
Unknown internal error |
|
6 |
System management operation cannot be completed |
|
7 |
Plugin execution error |
|
8 |
Query cannot be completed |
|
9 |
PluginRequest object error |
|
10 |
PluginResponse object error |
|
11 |
Query result cannot be generated |
|
12 |
Internal search error |
|
13 |
Invalid vertex attribute assignment |
3. pyvgx.Graph
| Graph Constructor | Description |
|---|---|
Create a new graph |
3.1. Graph Members
| N | Graph Member | Description |
|---|---|---|
1 |
Name of graph |
|
2 |
Object counters |
|
3 |
Number of vertices in graph |
|
4 |
Graph path |
|
5 |
Graph similarity object |
|
6 |
Number of arcs in graph |
|
7 |
Current graph timestamp |
3.2. Graph Vertex Methods
| N | Graph Vertex Method | Description |
|---|---|---|
1 |
Close all vertices opened by current thread |
|
2 |
Close vertex |
|
3 |
Close multiple vertices |
|
4 |
Commit all write-locked vertices opened by current thread |
|
5 |
Create a new vertex |
|
6 |
Delete a vertex from graph |
|
7 |
Promote readonly vertex to writable |
|
8 |
Return a list of open vertices and their threads |
|
9 |
Return a vertex object, create vertex if necessary |
|
10 |
Return a vertex object in specified access mode |
|
11 |
Return a list of multiple vertex objects in specified access mode |
|
12 |
Demote writable vertex to readonly |
3.3. Graph Arc Methods
| N | Graph Arc Method | Description |
|---|---|---|
1 |
Accumulate float value for arc between two vertices |
|
2 |
Create arcs between vertices |
|
3 |
Increment integer value for arc between two vertices |
|
4 |
Remove arc(s) between two vertices |
3.4. Graph Query Methods
| N | Graph Query Method | Description |
|---|---|---|
1 |
Check if a vertex is adjacent to other vertices |
|
2 |
Perform aggregation of arc values in neighborhood |
|
3 |
Return value of specific arc |
|
4 |
Global search returning arcs in graph |
|
5 |
Return total number of arcs for a vertex |
|
6 |
Return vertex in readonly mode |
|
7 |
Return identifier for specific vertex or random vertex |
|
8 |
Check if graph has vertex |
|
9 |
Return number of vertex inarcs |
|
10 |
Return the list of vertices with outarcs to specified vertex |
|
11 |
Execute a vertex neighborhood query |
|
13 |
Return one neighbor of vertex |
|
12 |
Return number of vertex outarcs |
|
13 |
Execute a graph search and return result in human readable format |
|
14 |
Return the list of vertices with inarcs from specified vertex |
|
15 |
Retrieve vertex identifier by vertex memory address |
|
16 |
Global search returning vertices in graph |
|
17 |
Global graph search returning vertices of specified type |
3.5. Graph Query Object Methods
| N | Graph Query Object Method | Description |
|---|---|---|
1 |
Return new pyvgx.AdjacencyQuery object for graph adjacency test |
|
2 |
Return new pyvgx.AggregatorQuery object for graph aggregation |
|
3 |
Return new pyvgx.GlobalQuery object for global arc search |
|
4 |
Return new pyvgx.NeighborhoodQuery object for graph search |
|
5 |
Return new pyvgx.GlobalQuery object for global vertex search |
3.6. Graph Evaluator Methods
| N | Graph Evaluator Method | Description |
|---|---|---|
1 |
Define and store an evaluator expression to be invoked later |
|
2 |
Evaluate an expression |
|
3 |
Return previously defined evaluator expression |
|
4 |
Return all previously defined evaluator expressions |
|
5 |
Return new memory object |
3.7. Graph Management Methods
| N | Graph Management Method | Description |
|---|---|---|
1 |
Make graph writable |
|
2 |
Close graph instance |
|
3 |
Remove graph data from memory and disk |
|
4 |
Return graph memory usage information |
|
5 |
Check if graph is readonly |
|
6 |
Acquire and return a lock object |
|
7 |
Call any function in a synchronized context |
|
8 |
Return number of vertices in graph |
|
9 |
Reset query counters to zero |
|
10 |
Modify graph serial number |
|
11 |
Persist graph to disk |
|
12 |
Make graph readonly |
|
13 |
Return number of arcs in graph |
|
14 |
Return graph status information |
|
15 |
Send all VGX source data to attached destination(s) |
|
16 |
Delete all graph data |
3.8. Graph Enumeration Methods
| N | Graph Enumeration Method | Description |
|---|---|---|
1 |
Define relationship enumeration and return code |
|
2 |
Return relationship by enumeration code |
|
3 |
Return dict of all mapped relationships |
|
4 |
Define vertex type enumeration and return code |
|
5 |
Return vertex type by enumeration code |
|
6 |
Return dict of all mapped vertex types |
|
7 |
Return vector dimension by enumeration code |
|
8 |
Define vector dimension enumeration and return code |
|
9 |
Define property key enumeration and return code |
|
10 |
Return property key by enumeration code |
|
11 |
Return dict of all mapped property keys |
|
12 |
Define property string value enumeration and return code |
|
13 |
Return dict of all mapped property string values |
|
14 |
Return property string value by enumeration code |
|
3.9. Graph Event Methods
| N | Graph Event Method | Description |
|---|---|---|
1 |
Return current state of TTL processor |
|
2 |
Stop internal TTL processing |
|
3 |
Resume internal TTL processing (if stopped) |
|
4 |
Flush event queues to schedules (for debugging.) |
|
5 |
Return parameters currently in effect for TTL processor |
3.10. Graph Miscellaneous Methods
| N | Graph Miscellaneous Method | Description |
|---|---|---|
1 |
Run internal allocator diagnostic routines (for debugging) |
|
2 |
Print internal graph information |
|
3 |
Return a representation of the object with the given identifier (for debugging) |
|
4 |
Return a representation of the object at given address (for debugging) |
|
5 |
Print internal allocator information (for debugging) |
|
6 |
Print a list of open vertices and the threads owning them |
|
7 |
Print internal representation of vertex |
|
8 |
Return a string representing internal descriptor data for vertex |
4. pyvgx.Vertex
| Vertex Constructor | Description |
|---|---|
Explicit vertex constructor |
4.1. Vertex Members
| N | Vertex Member | Description |
|---|---|---|
1 |
Memory address of vertex |
|
2 |
Special internal: ANN seed number |
|
3 |
Special internal: ANN arc LSH rotate |
|
4 |
Allocator block number for vertex object (for debugging) |
|
5 |
Vertex object bitvector offset |
|
6 |
Vertex bitvector quadword |
|
7 |
Dynamic rank 0th order coefficient |
|
8 |
Dynamic rank 1st order coefficient |
|
9 |
Vertex degree |
|
10 |
Numeric representation of vertex descriptor |
|
11 |
Process independent numeric (int) vertex identifier |
|
12 |
Process independent numeric (long) vertex identifier |
|
13 |
Identifier |
|
14 |
Vertex indegree |
|
15 |
Vertex object offset in memory |
|
16 |
Internal identifier (strhash128) |
|
17 |
True when vertex degree is zero |
|
18 |
Vertex outdegree |
|
19 |
Allocator block offset for vertex object (for debugging) |
|
20 |
Operation id of last modifying graph operation for this vertex |
|
21 |
ID of thread holding one or more write-locks for this vertex |
|
22 |
Vertex properties as dictionary |
|
23 |
Number of readonly acquisitions for this vertex |
|
24 |
Vertex object reference count (for debugging) |
|
25 |
Vertex remaining TTL |
|
26 |
Vertex creation time |
|
27 |
Vertex modification time |
|
28 |
Vertex expiration time |
|
29 |
Vertex type |
|
30 |
Vertex vector as a list of components |
|
31 |
|
|
32 |
Number of write-locks held by vertex owner. |
4.2. Vertex Access Methods
| N | Vertex Access Method | Description |
|---|---|---|
1 |
Release vertex access lock |
|
2 |
Promote vertex access from readonly to writable |
|
3 |
|
|
4 |
|
|
5 |
Relax vertex access from writable to readonly |
|
6 |
|
4.3. Vertex Rank Methods
| N | Vertex Rank Method | Description |
|---|---|---|
1 |
Return dynamic rank coefficients |
|
2 |
Assign dynamic rank coefficients |
4.4. Vertex Property Methods
| N | Vertex Property Method | Description |
|---|---|---|
1 |
Return all vertex properties as a dictionary |
|
2 |
Retrieve a vertex property |
|
3 |
Check if a vertex has any properties |
|
4 |
Check if a vertex property exists |
|
5 |
Increment a numeric vertex property |
|
6 |
Return the number of properties assigned to a vertex |
|
7 |
Delete all vertex properties |
|
8 |
Delete a vertex property |
|
9 |
Assign multiple vertex properties from a dictionary |
|
10 |
Assign a vertex property |
|
11 |
Return a list of all vertex property key-value pairs |
|
12 |
Return a list of all vertex property keys |
|
13 |
Return a list of all vertex property values |
4.5. Vertex Vector Methods
| N | Vertex Vector Method | Description |
|---|---|---|
1 |
32-bit segment extracted from 64-bit LSH |
|
2 |
Return the vertex vector |
|
3 |
Check if vertex has a vector |
|
4 |
Delete vector from vertex |
|
5 |
Assign a new vector to vertex |
4.6. Vertex TTL Methods
| N | Vertex TTL Method | Description |
|---|---|---|
1 |
Remove expiration time from vertex |
|
2 |
Return vertex expiration time |
|
3 |
Check if vertex expiration time has passed |
|
4 |
Schedule vertex to be automatically deleted at a specific time in the future |
4.7. Vertex Miscellaneous Methods
| N | Vertex Miscellaneous Method | Description |
|---|---|---|
1 |
Return a dictionary representation of vertex |
|
2 |
Commit all vertex modifications without closing vertex |
|
3 |
Return a string representing the vertex descriptor |
|
4 |
Return vertex type |
|
5 |
Return vertex type enumeration code |
|
6 |
|
|
7 |
Set or change vertex type |
4.8. Vertex Query Methods
| N | Vertex Query Method | Description |
|---|---|---|
1 |
Check if a vertex is adjacent to other vertices |
|
2 |
Perform aggregation of arc values in vertex neighborhood |
|
3 |
Return value of specific arc |
|
4 |
Return total number of arcs for vertex |
|
5 |
Return number of vertex inarcs |
|
6 |
Return the list of vertices with outarcs to this vertex |
|
7 |
Execute a vertex neighborhood query |
|
8 |
Return the list of vertices connected to this vertex |
|
9 |
Return number of vertex outarcs |
|
10 |
Return the list of vertices with inarcs from this vertex |
5. pyvgx.Memory
| Memory Constructor | Description |
|---|---|
Create a new memory object |
5.1. Memory Object Attributes
| N | Memory Attribute | Description |
|---|---|---|
1 |
Memory register R1 |
|
2 |
Memory register R2 |
|
3 |
Memory register R3 |
|
4 |
Memory register R4 |
|
5 |
Log2 of memory size |
5.2. Memory Object Methods
| N | Memory Method | Description |
|---|---|---|
1 |
Return a list representing memory object data |
|
2 |
Convert between packed and unpacked integer tuple |
|
3 |
Initialize memory elements and discard string data |
|
4 |
Sort memory elements (in-place) |
|
5 |
Return a list of values currently pushed on memory stack |
5.3. Memory Object Access
| N | Section | Description |
|---|---|---|
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
5.4. Memory Objects in Evaluator Expressions
| N | Section | Description |
|---|---|---|
1 |
How memory indexing works |
|
2 |
Memory array objects in evaluator expressions |
|
3 |
Complete list of memory operations available in expressions |
|
4 |
Memory registers |
|
5 |
Memory stack |
6. pyvgx.Vector and pyvgx.Similarity
6.1. pyvgx.Vector Members
| N | Vector Member | Description |
|---|---|---|
1 |
List of components originally used to define the vector |
|
2 |
64-bit integer representing vector (locality sensitive hash) |
|
3 |
List of encoded elements used to represent the vector internally |
|
4 |
Number of vector dimensions |
|
5 |
Euclidean length of vector |
6.2. pyvgx.Vector Methods
| N | Vector Method | Description |
|---|---|---|
1 |
Return a dictionary representation of vector |
|
2 |
Return seed-based 64-bit vector projection |
|
3 |
Return vector index projection information |
6.3. pyvgx Similarity Members
| N | Similarity Member | Description |
|---|---|---|
1 |
Relative importance of Cosine() in Similarity() score computation |
|
2 |
Maximum number of differing bits allowed in two fingerprints to be declared similar |
|
3 |
Relative importance of Jaccard() in Similarity() score computation |
|
4 |
Minimum Cosine() required between two vectors to be declared similar |
|
5 |
Minimum number of overlapping dimensions required between two vectors to be declared similar |
|
6 |
Minimum Jaccard() required between two vectors to be declared similar |
|
7 |
Maximum number of vector elements allowed |
|
8 |
Number of LSH index segments (future) |
|
9 |
Number of significant LSH segments (future) |
|
10 |
Special internal: ANN projection seeds |
|
11 |
Minimum similarity score between two vectors to be declared similar |
6.4. pyvgx Similarity Methods
| N | Similarity Method | Description |
|---|---|---|
1 |
Return a dictionary representation of the similarity object |
|
2 |
Compute cosine similarity between two vectors |
|
3 |
Initialize ANN vector index structure |
|
4 |
Destroy ANN vector index structure |
|
5 |
Compute Euclidean distance between two vectors |
|
6 |
Compute the number or differing bits in two vector fingerprints |
|
7 |
Compute jaccard similarity between two vectors |
|
8 |
Create a new centroid instance |
|
9 |
Create a new vector instance |
|
10 |
Return a random vector |
|
11 |
Compute similarity score for two vectors |
7. Arc Syntax
| N | Arc Specification | Description |
|---|---|---|
1 |
Syntax used for arc filters in queries |
|
2 |
Syntax used when creating arcs |
8. Vertex Condition Syntax
| N | Vertex Constraint | Description |
|---|---|---|
1 |
Restrict vertex matches by absolute timestamps |
|
2 |
Restrict vertex matches by their adjacency to other vertices |
|
3 |
Restrict vertex matches by their total degree |
|
4 |
Restrict vertex matches by evaluating a generic expression pre-traversal |
|
5 |
Restrict vertex matches by identifier(s) |
|
6 |
Restrict vertex matches by their indegree |
|
7 |
Restrict vertex matches by their outdegree |
|
8 |
Restrict vertex matches by evaluating a generic expression post-traversal |
|
9 |
Restrict vertex matches by properties |
|
10 |
Restrict vertex matches by timestamps relative to current time |
|
11 |
Restrict vertex matches by vector similarity |
|
12 |
Restrict vertex matches by the result of traversing their neighborhoods |
|
13 |
Restrict vertex matches by their type |
|
14 |
Restrict vertex matches to only VIRTUAL or REAL |
9. Expression Evaluator
| N | Section | Description |
|---|---|---|
1 |
Referencing object attributes and properties in expressions |
|
2 |
Various constants available in expressions |
|
3 |
Expression environment variables |
|
4 |
List of all functions operating on memory objects |
|
5 |
General expression syntax |
|
6 |
Functions available for use in expressions |
|
7 |
Using memory objects in expressions |
|
8 |
Overview of how expressions are evaluated |
|
9 |
Brief introduction to expressions |
|
10 |
Select statement syntax for including information in query results |
|
11 |
Method for defining expressions that can be called later |
|
12 |
Evaluate an expression |
9.1. Functions
| N | Function Type | Description |
|---|---|---|
1 |
Arc collection ( |
|
2 |
Control functions ( |
|
3 |
Translate type encodings ( |
|
4 |
Standard math functions ( |
|
5 |
Retrieve tail vertex properties ( |
|
6 |
Operations on similarity vectors ( |
|
7 |
Scoring and geo distance ( |
|
8 |
Modify and check value types ( |
|
9 |
Variable argument aggregation ( |
9.2. Operations on Specific Memory Locations
| N | Operation Type | Description |
|---|---|---|
1 |
Basic arithmetic operations ( |
|
2 |
Shift and bitwise logic ( |
|
3 |
Compare memory locations ( |
|
4 |
Increment/decrement memory locations ( |
|
5 |
Special indexing operations ( |
|
6 |
Copy and move memory elements ( |
|
7 |
Memory stack operations ( |
|
8 |
Write and read memory locations ( |
|
9 |
Other functions ( |
|
10 |
Operations on packed data types ( |
9.3. Operations on Multiple Memory Locations
| N | Operation Type | Description |
|---|---|---|
1 |
Aggregate across many locations ( |
|
2 |
Bitwise operations on many locations ( |
|
3 |
Perform hash operations on many locations ( |
|
4 |
Inc/dec many locations at once ( |
|
5 |
Logarithm and exponential operations on many locations ( |
|
6 |
Numeric operations on many locations ( |
|
7 |
Search a memory range ( |
|
8 |
Set or copy many locations at once ( |
|
9 |
Trigonometric and hyperbolic operations on many locations ( |
|
10 |
Cast many locations at once ( |
|
11 |
Memory heap operations ( |
|
12 |
Perform arithmetic on many locations ( |
|
13 |
Memory sorting operations ( |
9.4. Special Purpose Operations
| N | Operation Type | Description |
|---|---|---|
1 |
Time-dependent arc value |
|
2 |
Position and match-type dependent search function |
9.5. Full VGX Expression Language Operation Reference
| N | Operator / Function | Syntax | Description |
|---|---|---|---|
1 |
INFIX |
(binary) + |
|
2 |
INFIX |
(binary) − |
|
3 |
INFIX |
(binary) * |
|
4 |
INFIX |
(binary) / |
|
5 |
INFIX |
(binary) % |
|
6 |
INFIX |
(binary) ** |
|
7 |
INFIX |
(binary comparison) == |
|
8 |
INFIX |
(binary comparison) > |
|
9 |
INFIX |
(binary comparison) >= |
|
10 |
INFIX |
(binary comparison) < |
|
11 |
INFIX |
(binary comparison) ⇐ |
|
12 |
INFIX |
(binary comparison) != |
|
13 |
PREFIX |
~ |
|
14 |
PREFIX |
! |
|
15 |
INFIX |
(ternary conditional) ? |
|
16 |
INFIX |
(ternary colon) : |
|
17 |
INFIX |
(bitwise) & |
|
18 |
INFIX |
(bitwise) | |
|
19 |
INFIX |
(bitwise) ^ |
|
20 |
INFIX |
(binary) && |
|
21 |
INFIX |
(binary) || |
|
22 |
INFIX |
(bitwise) << |
|
23 |
INFIX |
(bitwise) >> |
|
24 |
ASSIGNMENT |
:= |
|
25 |
ASSIGNMENT |
= |
|
26 |
[TRAVERSE]SYMBOLIC |
(attribute) .address |
|
27 |
[TRAVERSE]SYMBOLIC |
(direction) .arc.dir |
|
28 |
[TRAVERSE]SYMBOLIC |
(attribute) .arc.dist |
|
29 |
[TRAVERSE]SYMBOLIC |
(attribute) .arc.isfwd |
|
30 |
[TRAVERSE]SYMBOLIC |
(attribute) .arc.issyn |
|
31 |
[TRAVERSE]SYMBOLIC |
(attribute) .arc.mod |
|
32 |
[TRAVERSE]SYMBOLIC |
(relationship) .arc.type |
|
33 |
[TRAVERSE]SYMBOLIC |
(attribute) .arc.value |
|
34 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .bidx |
|
35 |
[TRAVERSE]SYMBOLIC |
(attribute) .bitindex |
|
36 |
[TRAVERSE]SYMBOLIC |
(attribute) .bitvector |
|
37 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .c0 |
|
38 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .c1 |
|
39 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .deg |
|
40 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .enum |
|
41 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .handle |
|
42 |
[DEREF TRAVERSE]OBJECT |
.id |
|
43 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .ideg |
|
44 |
[TRAVERSE]SYMBOLIC |
(attribute) .index |
|
45 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .internalid |
|
46 |
[TRAVERSE]SYMBOLIC |
(attribute) .locked |
|
47 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .odeg |
|
48 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .oidx |
|
49 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .op |
|
50 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .propcount |
|
51 |
[DEREF TRAVERSE]FUNCTION |
.property( a[, b[, c]] ) |
|
52 |
SYMBOLIC |
(real) .rank |
|
53 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .refc |
|
54 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .tmc |
|
55 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .tmm |
|
56 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .tmx |
|
57 |
[DEREF TRAVERSE]SYMBOLIC |
(type) .type |
|
58 |
[DEREF TRAVERSE]OBJECT |
.vector |
|
59 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) .virtual |
|
60 |
SYMBOLIC |
(integer) C1 |
|
61 |
SYMBOLIC |
(integer) C2 |
|
62 |
SYMBOLIC |
(integer) C3 |
|
63 |
SYMBOLIC |
(integer) C4 |
|
64 |
DEBUG |
DEBUG.ARC |
|
65 |
DEBUG |
DEBUG.EVAL |
|
66 |
DEBUG |
DEBUG.MEM |
|
67 |
FUNCTION |
DEBUG.PRINT( a ) |
|
68 |
FUNCTION |
DEBUG.PRINTIF( a, b ) |
|
69 |
DEBUG |
DEBUG.RPN |
|
70 |
DEBUG |
DEBUG.STACK |
|
71 |
DEBUG |
DEBUG.TOK |
|
72 |
SYMBOLIC |
(enum) D_ANY |
|
73 |
SYMBOLIC |
(enum) D_BOTH |
|
74 |
SYMBOLIC |
(enum) D_IN |
|
75 |
SYMBOLIC |
(enum) D_OUT |
|
76 |
SYMBOLIC |
(enum) M_ACC |
|
77 |
SYMBOLIC |
(enum) M_ANY |
|
78 |
SYMBOLIC |
(enum) M_CNT |
|
79 |
SYMBOLIC |
(enum) M_LSH |
|
80 |
SYMBOLIC |
(enum) M_DIST |
|
81 |
SYMBOLIC |
(enum) M_FLT |
|
82 |
SYMBOLIC |
(enum) M_INT |
|
83 |
SYMBOLIC |
(enum) M_SIM |
|
84 |
SYMBOLIC |
(enum) M_STAT |
|
85 |
SYMBOLIC |
(enum) M_TMC |
|
86 |
SYMBOLIC |
(enum) M_TMM |
|
87 |
SYMBOLIC |
(enum) M_TMX |
|
88 |
SYMBOLIC |
(enum) M_UINT |
|
89 |
SYMBOLIC |
(integer) R1 |
|
90 |
SYMBOLIC |
(integer) R2 |
|
91 |
SYMBOLIC |
(integer) R3 |
|
92 |
SYMBOLIC |
(integer) R4 |
|
93 |
SYMBOLIC |
(integer) T_MAX |
|
94 |
SYMBOLIC |
(integer) T_MIN |
|
95 |
SYMBOLIC |
(integer) T_NEVER |
|
96 |
FUNCTION |
abs( a ) |
|
97 |
FUNCTION |
acos( a ) |
|
98 |
FUNCTION |
acosh( a ) |
|
99 |
FUNCTION |
add( a, b ) |
|
100 |
FUNCTION |
addif( a, b, c ) |
|
101 |
FUNCTION |
allnan( […] ) |
|
102 |
FUNCTION |
and( a, b ) |
|
103 |
FUNCTION |
andif( a, b, c ) |
|
104 |
FUNCTION |
anynan( […] ) |
|
105 |
FUNCTION |
asbits( a ) |
|
106 |
FUNCTION |
asin( a ) |
|
107 |
FUNCTION |
asinh( a ) |
|
108 |
FUNCTION |
asint( a ) |
|
109 |
FUNCTION |
asreal( a ) |
|
110 |
FUNCTION |
atan( a ) |
|
111 |
FUNCTION |
atan2( a, b ) |
|
112 |
FUNCTION |
atanh( a ) |
|
113 |
FUNCTION |
bitvector( a ) |
|
114 |
FUNCTION |
bytes( […] ) |
|
115 |
FUNCTION |
ceil( a ) |
|
116 |
[COLLECT]FUNCTION |
collect([ a] ) |
|
117 |
SYMBOLIC |
(int) collectable.int |
|
118 |
SYMBOLIC |
(int) collectable.real |
|
119 |
[COLLECT]FUNCTION |
collectif( a[, b] ) |
|
120 |
FUNCTION |
comb( a, b ) |
|
121 |
FUNCTION |
commit([ a] ) |
|
122 |
FUNCTION |
commitif( a[, b] ) |
|
123 |
SYMBOLIC |
(real) context.rank |
|
124 |
FUNCTION |
continue() |
|
125 |
FUNCTION |
continueif( a ) |
|
126 |
FUNCTION |
cos( a ) |
|
127 |
FUNCTION |
cos_pi8( a, b ) |
|
128 |
FUNCTION |
cos_pi8_128( a, b ) |
|
129 |
FUNCTION |
cos_pi8_256( a, b ) |
|
130 |
FUNCTION |
cos_pi8_512( a, b ) |
|
131 |
FUNCTION |
cosh( a ) |
|
132 |
FUNCTION |
cosine( a, b ) |
|
133 |
FUNCTION |
count( […] ) |
|
134 |
FUNCTION |
countif( […] ) |
|
135 |
FUNCTION |
cpukill( a ) |
|
136 |
FUNCTION |
dec( a ) |
|
137 |
FUNCTION |
decif( a, b ) |
|
138 |
FUNCTION |
deg( a ) |
|
139 |
FUNCTION |
dirtostr( a ) |
|
140 |
FUNCTION |
div( a, b ) |
|
141 |
FUNCTION |
divif( a, b, c ) |
|
142 |
FUNCTION |
do( […] ) |
|
143 |
FUNCTION |
dp_pi8( a, b ) |
|
144 |
FUNCTION |
dp_pi8_128( a, b ) |
|
145 |
FUNCTION |
dp_pi8_256( a, b ) |
|
146 |
FUNCTION |
dp_pi8_512( a, b ) |
|
147 |
FUNCTION |
dp_pi8_nta( a, b ) |
|
148 |
SYMBOLIC |
(real) e |
|
149 |
FUNCTION |
endswith( a, b ) |
|
150 |
FUNCTION |
equ( a, b ) |
|
151 |
FUNCTION |
exp( a ) |
|
152 |
FUNCTION |
fac( a ) |
|
153 |
SYMBOLIC |
(integer) false |
|
154 |
FUNCTION |
firstval( […] ) |
|
155 |
FUNCTION |
floor( a ) |
|
156 |
FUNCTION |
geodist( a, b, c, d ) |
|
157 |
FUNCTION |
geomean( […] ) |
|
158 |
FUNCTION |
geoprox( a, b, c, d ) |
|
159 |
[DEREF TRAVERSE]FUNCTION |
georank( […] ) |
|
160 |
FUNCTION |
get() |
|
161 |
SYMBOLIC |
(real) googol |
|
162 |
SYMBOLIC |
(real) graph.age |
|
163 |
SYMBOLIC |
(integer) graph.op |
|
164 |
SYMBOLIC |
(integer) graph.order |
|
165 |
SYMBOLIC |
(integer) graph.size |
|
166 |
SYMBOLIC |
(real) graph.t0 |
|
167 |
SYMBOLIC |
(real) graph.ts |
|
168 |
FUNCTION |
gt( a, b ) |
|
169 |
FUNCTION |
gte( a, b ) |
|
170 |
FUNCTION |
ham_pi8( a, b ) |
|
171 |
FUNCTION |
hamdist( a, b ) |
|
172 |
FUNCTION |
halt() |
|
173 |
FUNCTION |
halted() |
|
174 |
FUNCTION |
haltif( a ) |
|
175 |
FUNCTION |
harmmean( […] ) |
|
176 |
FUNCTION |
hash( a ) |
|
177 |
FUNCTION |
idx( a, b ) |
|
178 |
INFIX |
(binary) in |
|
179 |
FUNCTION |
inc( a ) |
|
180 |
FUNCTION |
incif( a, b ) |
|
181 |
FUNCTION |
index( a ) |
|
182 |
FUNCTION |
indexed( a ) |
|
183 |
LITERAL |
(none) inf |
|
184 |
FUNCTION |
int( a ) |
|
185 |
FUNCTION |
intr( a ) |
|
186 |
FUNCTION |
inv( a ) |
|
187 |
FUNCTION |
invsum( […] ) |
|
188 |
FUNCTION |
isarray( a ) |
|
189 |
FUNCTION |
isbitvector( a ) |
|
190 |
FUNCTION |
isbytearray( a ) |
|
191 |
FUNCTION |
isbytes( a ) |
|
192 |
[MAPPING]FUNCTION |
iset.add( a ) |
|
193 |
[MAPPING]FUNCTION |
iset.del( a ) |
|
194 |
[MAPPING]FUNCTION |
iset.has( a ) |
|
195 |
[MAPPING]FUNCTION |
iset.len() |
|
196 |
[MAPPING]FUNCTION |
iset.clr( a ) |
|
197 |
FUNCTION |
isinf( a ) |
|
198 |
FUNCTION |
isint( a ) |
|
199 |
FUNCTION |
iskeyval( a ) |
|
200 |
FUNCTION |
ismap( a ) |
|
201 |
FUNCTION |
isnan( a ) |
|
202 |
FUNCTION |
isreal( a ) |
|
203 |
FUNCTION |
isstr( a ) |
|
204 |
FUNCTION |
isutf8( a ) |
|
205 |
FUNCTION |
isvector( a ) |
|
206 |
FUNCTION |
jaccard( a, b ) |
|
207 |
FUNCTION |
join( […] ) |
|
208 |
FUNCTION |
keyval( a, b ) |
|
209 |
FUNCTION |
lastval( […] ) |
|
210 |
FUNCTION |
len( a ) |
|
211 |
FUNCTION |
load( a ) |
|
212 |
FUNCTION |
log( a ) |
|
213 |
FUNCTION |
log10( a ) |
|
214 |
FUNCTION |
log2( a ) |
|
215 |
FUNCTION |
lt( a, b ) |
|
216 |
FUNCTION |
lte( a, b ) |
|
217 |
FUNCTION |
mabs( a, b ) |
|
218 |
FUNCTION |
macos( a, b ) |
|
219 |
FUNCTION |
macosh( a, b ) |
|
220 |
FUNCTION |
madd( a, b, c ) |
|
221 |
FUNCTION |
mand( a, b, c ) |
|
222 |
FUNCTION |
masin( a, b ) |
|
223 |
FUNCTION |
masinh( a, b ) |
|
224 |
FUNCTION |
matan( a, b ) |
|
225 |
FUNCTION |
matanh( a, b ) |
|
226 |
FUNCTION |
max( a, b ) |
|
227 |
FUNCTION |
mbits( a, b ) |
|
228 |
FUNCTION |
mceil( a, b ) |
|
229 |
FUNCTION |
mcmp( a, b, c ) |
|
230 |
FUNCTION |
mcmpa( a, b, c ) |
|
231 |
FUNCTION |
mcontains( a, b, c ) |
|
232 |
FUNCTION |
mcopy( a, b, c ) |
|
233 |
FUNCTION |
mcopyobj( a, b ) |
|
234 |
FUNCTION |
mcos( a, b ) |
|
235 |
FUNCTION |
mcosh( a, b ) |
|
236 |
FUNCTION |
mcount( a, b, c ) |
|
237 |
[CULL]FUNCTION |
mcull( a, b ) |
|
238 |
[CULL]FUNCTION |
mcullif( a, b ) |
|
239 |
FUNCTION |
mdec( a, b ) |
|
240 |
FUNCTION |
mdeg( a, b ) |
|
241 |
FUNCTION |
mdiv( a, b, c ) |
|
242 |
FUNCTION |
mean( […] ) |
|
243 |
FUNCTION |
memkill( a ) |
|
244 |
FUNCTION |
mexp( a, b ) |
|
245 |
FUNCTION |
mexp10( a, b ) |
|
246 |
FUNCTION |
mexp2( a, b ) |
|
247 |
FUNCTION |
mfloor( a, b ) |
|
248 |
FUNCTION |
mgeomean( a, b, c ) |
|
249 |
FUNCTION |
mgeostdev( a, b, c ) |
|
250 |
FUNCTION |
mharmmean( a, b, c ) |
|
251 |
FUNCTION |
mhash( a, b ) |
|
252 |
FUNCTION |
mheapifymax( a, b ) |
|
253 |
FUNCTION |
mheapifymin( a, b ) |
|
254 |
FUNCTION |
mheapinit( a, b ) |
|
255 |
FUNCTION |
mheappushmax( a, b, c ) |
|
256 |
FUNCTION |
mheappushmin( a, b, c ) |
|
257 |
FUNCTION |
mheapsiftmax( a, b, c, d ) |
|
258 |
FUNCTION |
mheapsiftmin( a, b, c, d ) |
|
259 |
FUNCTION |
mheapwritemax( […] ) |
|
260 |
FUNCTION |
mheapwritemin( […] ) |
|
261 |
FUNCTION |
miadd( a, b, c ) |
|
262 |
FUNCTION |
midec( a, b ) |
|
263 |
FUNCTION |
midiv( a, b, c ) |
|
264 |
FUNCTION |
miinc( a, b ) |
|
265 |
FUNCTION |
mimod( a, b, c ) |
|
266 |
FUNCTION |
mimul( a, b, c ) |
|
267 |
FUNCTION |
min( a, b ) |
|
268 |
FUNCTION |
minc( a, b ) |
|
269 |
FUNCTION |
mindex( a, b, c ) |
|
270 |
FUNCTION |
mint( a, b ) |
|
271 |
FUNCTION |
mintr( a, b ) |
|
272 |
FUNCTION |
minv( a, b ) |
|
273 |
FUNCTION |
minvsum( a, b, c ) |
|
274 |
FUNCTION |
misub( a, b, c ) |
|
275 |
FUNCTION |
mlen( a ) |
|
276 |
FUNCTION |
mlog( a, b ) |
|
277 |
FUNCTION |
mlog10( a, b ) |
|
278 |
FUNCTION |
mlog2( a, b ) |
|
279 |
FUNCTION |
mmax( a, b, c ) |
|
280 |
FUNCTION |
mmean( a, b, c ) |
|
281 |
FUNCTION |
mmin( a, b, c ) |
|
282 |
FUNCTION |
mmod( a, b, c ) |
|
283 |
FUNCTION |
mmul( a, b, c ) |
|
284 |
FUNCTION |
mod( a, b ) |
|
285 |
FUNCTION |
modif( a, b, c ) |
|
286 |
FUNCTION |
modindex( a, b, c ) |
|
287 |
FUNCTION |
modtostr( a ) |
|
288 |
FUNCTION |
mor( a, b, c ) |
|
289 |
FUNCTION |
mov( a, b ) |
|
290 |
FUNCTION |
movif( a, b, c ) |
|
291 |
FUNCTION |
mpopcnt( a, b ) |
|
292 |
FUNCTION |
mpow( a, b, c ) |
|
293 |
FUNCTION |
mprod( a, b, c ) |
|
294 |
FUNCTION |
mpwrite( a, b, c ) |
|
295 |
FUNCTION |
mrabs( a, b ) |
|
296 |
FUNCTION |
mracos( a, b ) |
|
297 |
FUNCTION |
mracosh( a, b ) |
|
298 |
FUNCTION |
mrad( a, b ) |
|
299 |
FUNCTION |
mradd( a, b, c ) |
|
300 |
FUNCTION |
mrandbits( a, b ) |
|
301 |
FUNCTION |
mrandomize( a, b ) |
|
302 |
FUNCTION |
mrasin( a, b ) |
|
303 |
FUNCTION |
mrasinh( a, b ) |
|
304 |
FUNCTION |
mratan( a, b ) |
|
305 |
FUNCTION |
mratanh( a, b ) |
|
306 |
FUNCTION |
mrceil( a, b ) |
|
307 |
FUNCTION |
mrcos( a, b ) |
|
308 |
FUNCTION |
mrcosh( a, b ) |
|
309 |
FUNCTION |
mrdec( a, b ) |
|
310 |
FUNCTION |
mrdeg( a, b ) |
|
311 |
FUNCTION |
mrdiv( a, b, c ) |
|
312 |
FUNCTION |
mreal( a, b ) |
|
313 |
FUNCTION |
mreset() |
|
314 |
FUNCTION |
mreverse( a, b ) |
|
315 |
FUNCTION |
mrexp( a, b ) |
|
316 |
FUNCTION |
mrexp10( a, b ) |
|
317 |
FUNCTION |
mrexp2( a, b ) |
|
318 |
FUNCTION |
mrfloor( a, b ) |
|
319 |
FUNCTION |
mrgeomean( a, b, c ) |
|
320 |
FUNCTION |
mrgeostdev( a, b, c ) |
|
321 |
FUNCTION |
mrharmmean( a, b, c ) |
|
322 |
FUNCTION |
mrinc( a, b ) |
|
323 |
FUNCTION |
mrinv( a, b ) |
|
324 |
FUNCTION |
mrinvsum( a, b, c ) |
|
325 |
FUNCTION |
mrlog( a, b ) |
|
326 |
FUNCTION |
mrlog10( a, b ) |
|
327 |
FUNCTION |
mrlog2( a, b ) |
|
328 |
FUNCTION |
mrmean( a, b, c ) |
|
329 |
FUNCTION |
mrmod( a, b, c ) |
|
330 |
FUNCTION |
mrmul( a, b, c ) |
|
331 |
FUNCTION |
mround( a, b ) |
|
332 |
FUNCTION |
mrpow( a, b, c ) |
|
333 |
FUNCTION |
mrprod( a, b, c ) |
|
334 |
FUNCTION |
mrrad( a, b ) |
|
335 |
FUNCTION |
mrround( a, b ) |
|
336 |
FUNCTION |
mrsign( a, b ) |
|
337 |
FUNCTION |
mrsin( a, b ) |
|
338 |
FUNCTION |
mrsinc( a, b ) |
|
339 |
FUNCTION |
mrsinh( a, b ) |
|
340 |
FUNCTION |
mrsort( a, b ) |
|
341 |
FUNCTION |
mrsortrev( a, b ) |
|
342 |
FUNCTION |
mrsq( a, b ) |
|
343 |
FUNCTION |
mrsqrt( a, b ) |
|
344 |
FUNCTION |
mrstdev( a, b, c ) |
|
345 |
FUNCTION |
mrsub( a, b, c ) |
|
346 |
FUNCTION |
mrsum( a, b, c ) |
|
347 |
FUNCTION |
mrsumsqr( a, b, c ) |
|
348 |
FUNCTION |
mrtan( a, b ) |
|
349 |
FUNCTION |
mrtanh( a, b ) |
|
350 |
FUNCTION |
mset( a, b, c ) |
|
351 |
FUNCTION |
mshl( a, b, c ) |
|
352 |
FUNCTION |
mshr( a, b, c ) |
|
353 |
FUNCTION |
msign( a, b ) |
|
354 |
FUNCTION |
msin( a, b ) |
|
355 |
FUNCTION |
msinc( a, b ) |
|
356 |
FUNCTION |
msinh( a, b ) |
|
357 |
FUNCTION |
msort( a, b ) |
|
358 |
FUNCTION |
msortrev( a, b ) |
|
359 |
FUNCTION |
msq( a, b ) |
|
360 |
FUNCTION |
msqrt( a, b ) |
|
361 |
FUNCTION |
mstdev( a, b, c ) |
|
362 |
FUNCTION |
msub( a, b, c ) |
|
363 |
FUNCTION |
msubset( a, b, c, d ) |
|
364 |
FUNCTION |
msubsetobj( a, b, c ) |
|
365 |
FUNCTION |
msum( a, b, c ) |
|
366 |
FUNCTION |
msumprodobj( a, b, c ) |
|
367 |
FUNCTION |
msumsqr( a, b, c ) |
|
368 |
FUNCTION |
mtan( a, b ) |
|
369 |
FUNCTION |
mtanh( a, b ) |
|
370 |
FUNCTION |
mterm( a ) |
|
371 |
FUNCTION |
mul( a, b ) |
|
372 |
FUNCTION |
mulif( a, b, c ) |
|
373 |
FUNCTION |
mvadd( a, b, c ) |
|
374 |
FUNCTION |
mvand( a, b, c ) |
|
375 |
FUNCTION |
mvdiv( a, b, c ) |
|
376 |
FUNCTION |
mvmod( a, b, c ) |
|
377 |
FUNCTION |
mvmul( a, b, c ) |
|
378 |
FUNCTION |
mvor( a, b, c ) |
|
379 |
FUNCTION |
mvshl( a, b, c ) |
|
380 |
FUNCTION |
mvshr( a, b, c ) |
|
381 |
FUNCTION |
mvsub( a, b, c ) |
|
382 |
FUNCTION |
mvxor( a, b, c ) |
|
383 |
FUNCTION |
mxor( a, b, c ) |
|
384 |
LITERAL (none) |
nan |
|
385 |
FUNCTION |
neg( a ) |
|
386 |
FUNCTION |
neq( a, b ) |
|
387 |
[TRAVERSE]OBJECT |
next |
|
388 |
[TRAVERSE]SYMBOLIC |
(attribute) next.address |
|
389 |
[TRAVERSE]SYMBOLIC |
(attribute) next.arc |
|
390 |
[TRAVERSE]SYMBOLIC |
(direction) next.arc.dir |
|
391 |
[TRAVERSE]SYMBOLIC |
(attribute) next.arc.dist |
|
392 |
[TRAVERSE]SYMBOLIC |
(attribute) next.arc.isfwd |
|
393 |
[TRAVERSE]SYMBOLIC |
(attribute) next.arc.issyn |
|
394 |
[TRAVERSE]SYMBOLIC |
(attribute) next.arc.mod |
|
395 |
[TRAVERSE]SYMBOLIC |
(relationship) next.arc.type |
|
396 |
[TRAVERSE]SYMBOLIC |
(attribute) next.arc.value |
|
397 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.bidx |
|
398 |
[TRAVERSE]SYMBOLIC |
(attribute) next.bitindex |
|
399 |
[TRAVERSE]SYMBOLIC |
(attribute) next.bitvector |
|
400 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.c0 |
|
401 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.c1 |
|
402 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.deg |
|
403 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.enum |
|
404 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.handle |
|
405 |
[DEREF TRAVERSE]OBJECT |
next.id |
|
406 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.ideg |
|
407 |
[TRAVERSE]SYMBOLIC |
(attribute) next.index |
|
408 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.internalid |
|
409 |
[TRAVERSE]SYMBOLIC |
(attribute) next.locked |
|
410 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.odeg |
|
411 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.oidx |
|
412 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.op |
|
413 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.propcount |
|
414 |
[DEREF TRAVERSE]FUNCTION |
next.property( a[, b[, c]] ) |
|
415 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.refc |
|
416 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.tmc |
|
417 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.tmm |
|
418 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.tmx |
|
419 |
[DEREF TRAVERSE]SYMBOLIC |
(type) next.type |
|
420 |
[DEREF TRAVERSE]OBJECT |
next.vector |
|
421 |
[DEREF TRAVERSE]SYMBOLIC |
(attribute) next.virtual |
|
422 |
FUNCTION |
normalize( a ) |
|
423 |
INFIX |
(binary) notin |
|
424 |
LITERAL |
(none) null |
|
425 |
FUNCTION |
or( a, b ) |
|
426 |
FUNCTION |
orif( a, b, c ) |
|
427 |
SYMBOLIC |
(real) phi |
|
428 |
SYMBOLIC |
(real) pi |
|
429 |
FUNCTION |
pop() |
|
430 |
FUNCTION |
popcnt( a ) |
|
431 |
FUNCTION |
popif( a ) |
|
432 |
[LOOKBACK]OBJECT |
prev |
|
433 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.address |
|
434 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.arc |
|
435 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.arc.dir |
|
436 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.arc.dist |
|
437 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.arc.isfwd |
|
438 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.arc.issyn |
|
439 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.arc.mod |
|
440 |
[LOOKBACK]SYMBOLIC |
(relationship) prev.arc.type |
|
441 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.arc.value |
|
442 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.bidx |
|
443 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.bitindex |
|
444 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.bitvector |
|
445 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.c0 |
|
446 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.c1 |
|
447 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.deg |
|
448 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.enum |
|
449 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.handle |
|
450 |
[LOOKBACK]OBJECT |
prev.id |
|
451 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.ideg |
|
452 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.index |
|
453 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.internalid |
|
454 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.locked |
|
455 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.odeg |
|
456 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.oidx |
|
457 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.op |
|
458 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.propcount |
|
459 |
[LOOKBACK]FUNCTION |
prev.property( a[, b[, c]] ) |
|
460 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.refc |
|
461 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.tmc |
|
462 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.tmm |
|
463 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.tmx |
|
464 |
[LOOKBACK]SYMBOLIC |
(type) prev.type |
|
465 |
[LOOKBACK]OBJECT |
prev.vector |
|
466 |
[LOOKBACK]SYMBOLIC |
(attribute) prev.virtual |
|
467 |
FUNCTION |
probealtarray( a, b, c, d, e ) |
|
468 |
FUNCTION |
probearray( a, b, c, d ) |
|
469 |
FUNCTION |
probesuperarray( a, b, c, d, e ) |
|
470 |
FUNCTION |
prod( […] ) |
|
471 |
FUNCTION |
prox( a, b ) |
|
472 |
FUNCTION |
push( a ) |
|
473 |
FUNCTION |
pushif( a, b ) |
|
474 |
FUNCTION |
rad( a ) |
|
475 |
FUNCTION |
randbits() |
|
476 |
FUNCTION |
randint( a, b ) |
|
477 |
FUNCTION |
random() |
|
478 |
FUNCTION |
range( a, b ) |
|
479 |
[DEREF TRAVERSE]FUNCTION |
rank( […] ) |
|
480 |
FUNCTION |
rdec( a ) |
|
481 |
FUNCTION |
rdecif( a, b ) |
|
482 |
FUNCTION |
real( a ) |
|
483 |
SUBSCRIPT |
rel |
|
484 |
FUNCTION |
reldec( a ) |
|
485 |
FUNCTION |
relenc( a ) |
|
486 |
FUNCTION |
replace( a, b, c ) |
|
487 |
FUNCTION |
requ( a, b ) |
|
488 |
FUNCTION |
require( a ) |
|
489 |
FUNCTION |
return( a ) |
|
490 |
FUNCTION |
returnif( a, b ) |
|
491 |
FUNCTION |
require( a ) |
|
492 |
FUNCTION |
rgt( a, b ) |
|
493 |
FUNCTION |
rgte( a, b ) |
|
494 |
FUNCTION |
rinc( a ) |
|
495 |
FUNCTION |
rincif( a, b ) |
|
496 |
FUNCTION |
rload( a ) |
|
497 |
FUNCTION |
rlt( a, b ) |
|
498 |
FUNCTION |
rlte( a, b ) |
|
499 |
FUNCTION |
rmov( a, b ) |
|
500 |
FUNCTION |
rmovif( a, b, c ) |
|
501 |
FUNCTION |
rneq( a, b ) |
|
502 |
SYMBOLIC |
(real) root2 |
|
503 |
SYMBOLIC |
(real) root3 |
|
504 |
SYMBOLIC |
(real) root5 |
|
505 |
FUNCTION |
round( a ) |
|
506 |
FUNCTION |
rstore( a, b ) |
|
507 |
FUNCTION |
rstoreif( a, b, c ) |
|
508 |
FUNCTION |
rwrite( […] ) |
|
509 |
FUNCTION |
rwriteif( […] ) |
|
510 |
FUNCTION |
rxchg( a, b ) |
|
511 |
FUNCTION |
rxchgif( a, b, c ) |
|
512 |
FUNCTION |
shl( a, b ) |
|
513 |
FUNCTION |
shlif( a, b, c ) |
|
514 |
FUNCTION |
shr( a, b ) |
|
515 |
FUNCTION |
shrif( a, b, c ) |
|
516 |
FUNCTION |
sign( a ) |
|
517 |
FUNCTION |
sim( a, b ) |
|
518 |
FUNCTION |
sin( a ) |
|
519 |
FUNCTION |
sinc( a ) |
|
520 |
FUNCTION |
sinh( a ) |
|
521 |
FUNCTION |
slice( a, b, c ) |
|
522 |
FUNCTION |
smooth( a, b, c ) |
|
523 |
FUNCTION |
sqrt( a ) |
|
524 |
[COLLECT]FUNCTION |
stage([ a[, b]] ) |
|
525 |
[COLLECT]FUNCTION |
stageif( a[, b[, c]] ) |
|
526 |
FUNCTION |
startswith( a, b ) |
|
527 |
FUNCTION |
store( a, b ) |
|
528 |
FUNCTION |
storeif( a, b, c ) |
|
529 |
FUNCTION |
str( a ) |
|
530 |
FUNCTION |
strcasecmp( a, b ) |
|
531 |
FUNCTION |
strcmp( a, b ) |
|
532 |
FUNCTION |
strftime( a ) |
|
533 |
FUNCTION |
sub( a, b ) |
|
534 |
FUNCTION |
subif( a, b, c ) |
|
535 |
FUNCTION |
sum( […] ) |
|
536 |
FUNCTION |
sumsqr( […] ) |
|
537 |
FUNCTION |
synarc.decay( a[, b] ) |
|
538 |
FUNCTION |
synarc.hasmod( […] ) |
|
539 |
FUNCTION |
synarc.hasrel( […] ) |
|
540 |
FUNCTION |
synarc.hasrelmod( […] ) |
|
541 |
FUNCTION |
synarc.value( a, b ) |
|
542 |
FUNCTION |
synarc.xdecay( a[, b] ) |
|
543 |
SYMBOLIC |
(real) sys.tick |
|
544 |
SYMBOLIC |
(real) sys.uptime |
|
545 |
FUNCTION |
tan( a ) |
|
546 |
FUNCTION |
tanh( a ) |
|
547 |
SYMBOLIC |
(integer) true |
|
548 |
SUBSCRIPT |
type |
|
549 |
FUNCTION |
typedec( a ) |
|
550 |
FUNCTION |
typeenc( a ) |
|
551 |
FUNCTION |
unindex( a ) |
|
552 |
FUNCTION |
unstage([ a] ) |
|
553 |
FUNCTION |
unstageif( a[, b] ) |
|
554 |
SYMBOLIC |
(integer) vector |
|
555 |
OBJECT |
vertex |
|
556 |
SYMBOLIC |
(attribute) vertex.address |
|
557 |
SYMBOLIC |
(attribute) vertex.bidx |
|
558 |
SYMBOLIC |
(attribute) vertex.bitindex |
|
559 |
SYMBOLIC |
(attribute) vertex.bitvector |
|
560 |
SYMBOLIC |
(attribute) vertex.c0 |
|
561 |
SYMBOLIC |
(attribute) vertex.c1 |
|
562 |
SYMBOLIC |
(attribute) vertex.deg |
|
563 |
SYMBOLIC |
(attribute) vertex.enum |
|
564 |
SYMBOLIC |
(attribute) vertex.handle |
|
565 |
OBJECT |
vertex.id |
|
566 |
SYMBOLIC |
(attribute) vertex.ideg |
|
567 |
SYMBOLIC |
(attribute) vertex.index |
|
568 |
SYMBOLIC |
(attribute) vertex.internalid |
|
569 |
SYMBOLIC |
(attribute) vertex.locked |
|
570 |
SYMBOLIC |
(attribute) vertex.odeg |
|
571 |
SYMBOLIC |
(attribute) vertex.oidx |
|
572 |
SYMBOLIC |
(attribute) vertex.op |
|
573 |
SYMBOLIC |
(attribute) vertex.propcount |
|
574 |
FUNCTION |
vertex.property( a[, b[, c]] ) |
|
575 |
SYMBOLIC |
(attribute) vertex.refc |
|
576 |
SYMBOLIC |
(attribute) vertex.tmc |
|
577 |
SYMBOLIC |
(attribute) vertex.tmm |
|
578 |
SYMBOLIC |
(attribute) vertex.tmx |
|
579 |
SYMBOLIC |
(type) vertex.type |
|
580 |
OBJECT |
vertex.vector |
|
581 |
SYMBOLIC |
(attribute) vertex.virtual |
|
582 |
FUNCTION |
void( […] ) |
|
583 |
[MAPPING]FUNCTION |
vset.add( a ) |
|
584 |
[MAPPING]FUNCTION |
vset.del( a ) |
|
585 |
[MAPPING]FUNCTION |
vset.has( a ) |
|
586 |
[MAPPING]FUNCTION |
vset.len() |
|
587 |
[MAPPING]FUNCTION |
vset.clr( a ) |
|
588 |
FUNCTION |
write( […] ) |
|
589 |
FUNCTION |
writeif( […] ) |
|
590 |
FUNCTION |
xchg( a, b ) |
|
591 |
FUNCTION |
xchgif( a, b, c ) |
|
592 |
FUNCTION |
xor( a, b ) |
|
593 |
FUNCTION |
xorif( a, b, c ) |
|
594 |
SYMBOLIC |
(real) zeta3 |
10. Timeout Specification
| N | Section | Description |
|---|---|---|
1 |
How to specify timeouts in API calls |
11. VGX Core Concepts
| N | Subject | Description |
|---|---|---|
1 |
Explanation of REAL and VIRTUAL vertices |
|
2 |
Explanation of how Python vertex objects relate to internal graph objects |
12. VGX Limits and Internals
| N | Subject | Description |
|---|---|---|
1 |
Brief overview of how arcs are implemented internally |
|
2 |
List of important restrictions and capacities |
|
3 |
Brief overview of how vertex objects are implemented internally |
