| 158 | } |
| 159 | |
| 160 | Status GraphBuilder::AddToGraph( |
| 161 | Graph* graph, const TaskInfo* start, const TaskInfo* end) { |
| 162 | for (; start < end; ++start) { |
| 163 | const auto& task_info = *start; |
| 164 | graph->AddNodeFrom(task_info.node_vec); |
| 165 | graph->AddEdgeFrom(task_info.edge_vec); |
| 166 | } |
| 167 | |
| 168 | EULER_LOG(INFO) << "Graph Node Count:" << graph->getNodeSize(); |
| 169 | EULER_LOG(INFO) << "Graph Edge Count:" << graph->getEdgeSize(); |
| 170 | |
| 171 | return Status::OK(); |
| 172 | } |
| 173 | |
| 174 | bool GraphBuilder::LoadData(TaskInfo* task_info) { |
| 175 | auto& files = *task_info->files; |
nothing calls this directly
no test coverage detected