Table of Contents

Class SeedBudgetCalibrator

Namespace
LansMap.Core.Markers

Converts a time budget to seed work using observed seed cost.

public sealed class SeedBudgetCalibrator
Inheritance
object
SeedBudgetCalibrator

Methods

Record(double, int)

Records the elapsed time for completed seed work.

public void Record(double elapsedSeconds, int seedsProcessed)

Parameters

elapsedSeconds double

Elapsed wall time in seconds.

seedsProcessed int

Number of seeds processed.

SeedsFor(double)

Returns the seed count for a time budget.

public int SeedsFor(double budgetSeconds)

Parameters

budgetSeconds double

Available wall time in seconds.

Returns

int

A seed count between 500 and 50000.