HERE iOS SDK Developer's Guide

NMAEHPathTree

Class Summary

class NMAEHPathTree

Derived from: NSObject

Represents a tree like structure where each PathTree contains multiple children and links.

Include: NMAKit.framework/headers/NMAEHPathTree.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAEHPathTree

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NMAEHPathTreeRange children

The children property is an enumerator of type NMAEHPathTreeRange, which allowes to iterate through all the child path trees

[readable, assign] NMAEHLinkRange links

The links property is an enumerator of type NMAEHLinkRange, which allowes to iterate through all the links of the path tree

[readable, assign] NSUInteger  offsetCentimeters

The offsetCentimeters property represents the distance from the logical beginning of parent path to the start of the path tree in centimeters

[readable, assign] NMAEHPathTree parent

The parent property represents the parent path tree in the hierarchy

[readable, assign] float  probability

The probability property represents the probability of taking this path

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

Instances of this class should not be initialized

-(BOOL) isEqualToPathTree:(nonnull NMAEHPathTree *) pathTree

Determines whether this NMAEHPathTree is equal to another

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) new

Class Details

Represents a tree like structure where each PathTree contains multiple children and links.

Public Property Details

[readable, assign] NMAEHPathTreeRangechildren

The children property is an enumerator of type NMAEHPathTreeRange, which allowes to iterate through all the child path trees.

The links property is an enumerator of type NMAEHLinkRange, which allowes to iterate through all the links of the path tree.

[readable, assign] NSUInteger offsetCentimeters

The offsetCentimeters property represents the distance from the logical beginning of parent path to the start of the path tree in centimeters.

[readable, assign] NMAEHPathTreeparent

The parent property represents the parent path tree in the hierarchy.

Note:

the parent property of the root path tree is nil.

[readable, assign] float probability

The probability property represents the probability of taking this path.

Note:

The value of the property can be in range from 0 to 1.

Instance Method Details

-(nonnull instancetype) init

Instances of this class should not be initialized. Call class methods only.

-(BOOL) isEqualToPathTree:(nonnull NMAEHPathTree *) pathTree

Determines whether this NMAEHPathTree is equal to another.

Returns:

YES if the paths are equal, NO otherwise

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly