Class Graph

Class Documentation

class Graph

Public Functions

Graph()

Constructor of graph.

explicit Graph(const std::shared_ptr<GraphData> &graph_data)

Constructor of graph.

参数

graph_data[in] define the graph_data of graph.

explicit Graph(std::shared_ptr<GraphData> &&graph_data)

Constructor of graph.

参数

graph_data[in] define the graph_data of graph.

explicit Graph(std::nullptr_t)

Constructor of Kernel.

~Graph()

Destructor of graph.

enum ModelType ModelType() const

Get graph's modeltype.

返回

Model type.

bool operator==(std::nullptr_t) const

Operator equal.

bool operator!=(std::nullptr_t) const

Operator not equal.