| 750 | } |
| 751 | |
| 752 | TArrayView<FNode> FGraph::AddNodes(const int32 NumNewNodes) |
| 753 | { |
| 754 | const int32 StartIndex = Nodes.Num(); |
| 755 | Nodes.SetNum(StartIndex + NumNewNodes); |
| 756 | for (int i = 0; i < NumNewNodes; i++) |
| 757 | { |
| 758 | FNode& Node = Nodes[StartIndex + i]; |
| 759 | Node.Index = Node.PointIndex = StartIndex + i; |
| 760 | Node.Links.Reserve(NumEdgesReserve); |
| 761 | } |
| 762 | |
| 763 | return MakeArrayView(Nodes.GetData() + StartIndex, NumNewNodes); |
| 764 | } |
| 765 | |
| 766 | |
| 767 | void FGraph::BuildSubGraphs(const FPCGExGraphBuilderDetails& Limits) |
no test coverage detected