Nebula
Orchestrator

IExplainsAssignment

A policy that can say why it moved what it moved.

generated from the sources
public interface IExplainsAssignment

A policy that can say why it moved what it moved. Unity's Mono has no default interface methods and a game's own IAssignmentPolicy must keep compiling, so explaining is a second interface the built-in CostBalancedAssignmentPolicy implements rather than a member of the policy interface. The orchestrator logs and publishes the moves when the policy in force offers them.

Properties

Moves

IReadOnlyList<AssignmentMove> Moves { get; }

The moves of the last IAssignmentPolicy.Compute, in the order they were produced.

Saturated

IReadOnlyList<SaturationReport> Saturated { get; }

What the last IAssignmentPolicy.Compute could not relieve, hottest first. Empty when the mesh is balanced, when nothing is hot enough to be worth reporting, or when no utilization was measured.

On this page