Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FGreedyConstraintColoring
Description
Assigns a partition ID for all constraints in Container. Reorders the constraints in the order of their partition ID. Fills ConstraintsBatchIndices with the start indices of partitions which will be processed in serial and parallel.
Virtual Inheritance
- FSolverPartitionManager::PreparePartitions → FGreedyConstraintColoring::PreparePartitions
| Name | PreparePartitions |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Evolution/SolverPartitionManager.h |
| Include Path | #include "Chaos/Evolution/SolverPartitionManager.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/Evolution/SolverPartitionManager.cpp |
virtual int32 PreparePartitions()