Loading...
Searching...
No Matches

Class is used for storing graph. More...

#include <com/navigine/idl/objc/NCGraph.h>

Inherits NSObject.

Properties

NSArray< NCGraphVertex * > * vertexes
 List of connected vertexes GraphVertex.
 
NSArray< NCGraphEdge * > * edges
 List of edges that connected vertexes GraphEdge.
 

Detailed Description

Class is used for storing graph.

Referenced from Sublocation.

Definition at line 21 of file NCGraph.h.

Property Documentation

◆ edges

- (NSArray<NCGraphEdge *>*) edges
readnonatomicassign

List of edges that connected vertexes GraphEdge.

Swift code snippet:

// Get graph edges
let edges = graph.getEdges()
print("Number of graph edges: \‍(edges.count)")

Objective C code snippet:

// Get graph edges
NSArray<NCGraphEdge *> *edges = [graph getEdges];
NSLog(@"Number of graph edges: %lu", (unsigned long)edges.count);

Definition at line 48 of file NCGraph.h.

◆ vertexes

- (NSArray<NCGraphVertex *>*) vertexes
readnonatomicassign

List of connected vertexes GraphVertex.

Swift code snippet:

// Get graph vertices
let vertices = graph.getVertices()
print("Number of graph vertices: \‍(vertices.count)")

Objective C code snippet:

// Get graph vertices
NSArray<NCGraphVertex *> *vertices = [graph getVertices];
NSLog(@"Number of graph vertices: %lu", (unsigned long)vertices.count);

Definition at line 35 of file NCGraph.h.


The documentation for this class was generated from the following file: