MBNNMatchedSubgraphLocation.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBXGeometry;
  4. @class MBNNPosition;
  5. @class MBNNSubgraphEdge;
  6. /**
  7. * The MatchedSubgraphLocation represents a complex object which might be
  8. * considered as a directed graph. The graph might contain loops. `enters` and
  9. * `exits` fields contain edge ids, which allows to traverse the graph, obtain
  10. * geometry and calculate different distances inside it.
  11. */
  12. NS_SWIFT_NAME(MatchedSubgraphLocation)
  13. __attribute__((visibility ("default")))
  14. @interface MBNNMatchedSubgraphLocation : NSObject
  15. // This class provides custom init which should be called
  16. - (nonnull instancetype)init NS_UNAVAILABLE;
  17. // This class provides custom init which should be called
  18. + (nonnull instancetype)new NS_UNAVAILABLE;
  19. /** All enters of the subgraph */
  20. - (nonnull NSArray<MBNNPosition *> *)getEnters __attribute((ns_returns_retained));
  21. /** All exits of the subgraph */
  22. - (nonnull NSArray<MBNNPosition *> *)getExits __attribute((ns_returns_retained));
  23. /** All the edges of the subgraph associated by id */
  24. - (nonnull NSDictionary<NSNumber *, MBNNSubgraphEdge *> *)getEdges __attribute((ns_returns_retained));
  25. /** Geometry of the subgraph */
  26. - (nonnull MBXGeometry *)getShape __attribute((ns_returns_retained));
  27. @end