Table of Contents

Class Search

Namespace
Csra.TheLib.Execute
Assembly
Csra.dll
public class Search : ILib.IExecute.ISearch
Inheritance
Search
Implements
Inherited Members

Methods

LinearFullProcess<Tin, Tout>(List<Site<Tout>>, Tin, Tin, Tin, Tin, Func<Tout, bool>)

Processes the measurements of a linear full search to find the device input condition satisfying the trip criteria on the output.

public virtual Site<Tin> LinearFullProcess<Tin, Tout>(List<Site<Tout>> outValues, Tin inFrom, Tin inIncrement, Tin inOffset, Tin inNotFoundResult, Func<Tout, bool> outTripCriteria)

Parameters

outValues List<Site<Tout>>

The collected measurements for all executed steps.

inFrom Tin

The starting value of the linear input ramp.

inIncrement Tin

The per-step increment of the linear input ramp.

inOffset Tin

The offset to correct the calculated input value. Use negative values to compensate propagation delays for output switching.

inNotFoundResult Tin

The return value for the case when the trip criteria was never found.

outTripCriteria Func<Tout, bool>

A delegate indicating the output meets the condition required for the input value searched.

Returns

Site<Tin>

The first input value resulting in an output satisfying the trip criteria.

Type Parameters

Tin

The type of the input condition for the device.

Tout

The type of the device's output.

LinearFullProcess<Tin, Tout>(List<Site<Tout>>, Tin, Tin, Tin, Tin, Func<Tout, bool>, out Site<int>)

Processes the measurements of a linear full search to find the device input condition satisfying the trip criteria on the output. Additionally provides the index of the input step found.

public virtual Site<Tin> LinearFullProcess<Tin, Tout>(List<Site<Tout>> outValues, Tin inFrom, Tin inIncrement, Tin inOffset, Tin inNotFoundResult, Func<Tout, bool> outTripCriteria, out Site<int> tripIndex)

Parameters

outValues List<Site<Tout>>

The collected measurements for all executed steps.

inFrom Tin

The starting value of the linear input ramp.

inIncrement Tin

The per-step increment of the linear input ramp.

inOffset Tin

The offset to correct the calculated input value. Use negative values to compensate propagation delays for output switching.

inNotFoundResult Tin

The return value for the case when the trip criteria was never found.

outTripCriteria Func<Tout, bool>

A delegate indicating the output meets the condition required for the input value searched.

tripIndex Site<int>

Output - contains the index of the input step found.

Returns

Site<Tin>

The first input value resulting in an output satisfying the trip criteria.

Type Parameters

Tin

The type of the input condition for the device.

Tout

The type of the device's output.

LinearFullProcess<Tin, Tout>(List<Site<Tout>>, Tin, Tin, Tin, Tin, Func<Tout, bool>, out Site<int>, out Site<Tout>)

Processes the measurements of a linear full search to find the device input condition satisfying the trip criteria on the output. Additionally provides the index and output value of the input step found.

public virtual Site<Tin> LinearFullProcess<Tin, Tout>(List<Site<Tout>> outValues, Tin inFrom, Tin inIncrement, Tin inOffset, Tin inNotFoundResult, Func<Tout, bool> outTripCriteria, out Site<int> tripIndex, out Site<Tout> tripOut)

Parameters

outValues List<Site<Tout>>

The collected measurements for all executed steps.

inFrom Tin

The starting value of the linear input ramp.

inIncrement Tin

The per-step increment of the linear input ramp.

inOffset Tin

The offset to correct the calculated input value. Use negative values to compensate propagation delays for output switching.

inNotFoundResult Tin

The return value for the case when the trip criteria was never found.

outTripCriteria Func<Tout, bool>

A delegate indicating the output meets the condition required for the input value searched.

tripIndex Site<int>

Output - contains the index of the input step found.

tripOut Site<Tout>

Output - contains the output value of the input step found.

Returns

Site<Tin>

The first input value resulting in an output satisfying the trip criteria.

Type Parameters

Tin

The type of the input condition for the device.

Tout

The type of the device's output.

LinearFullProcess<Tin, Tout>(List<Site<Tout>>, Tin, Tin, Tin, Tout)

Processes the measurements of a linear full search to find the device input condition resulting in an output closest to the (numeric) target.

public virtual Site<Tin> LinearFullProcess<Tin, Tout>(List<Site<Tout>> outValues, Tin inFrom, Tin inIncrement, Tin inOffset, Tout outTarget)

Parameters

outValues List<Site<Tout>>

The collected measurements for all executed steps.

inFrom Tin

The starting value of the linear input ramp.

inIncrement Tin

The per-step increment of the linear input ramp.

inOffset Tin

The offset to correct the calculated input value. Use negative values to compensate propagation delays for output switching.

outTarget Tout

The (numeric) target output value to be searched.

Returns

Site<Tin>

The input value resulting in an output closest to the target.

Type Parameters

Tin

The type of the input condition for the device.

Tout

The type of the device's output.

LinearFullProcess<Tin, Tout>(List<Site<Tout>>, Tin, Tin, Tin, Tout, out Site<int>)

Processes the measurements of a linear full search to find the device input condition resulting in an output closest to the (numeric) target. Additionally provides the index of the input step found.

public virtual Site<Tin> LinearFullProcess<Tin, Tout>(List<Site<Tout>> outValues, Tin inFrom, Tin inIncrement, Tin inOffset, Tout outTarget, out Site<int> closestIndex)

Parameters

outValues List<Site<Tout>>

The collected measurements for all executed steps.

inFrom Tin

The starting value of the linear input ramp.

inIncrement Tin

The per-step increment of the linear input ramp.

inOffset Tin

The offset to correct the calculated input value. Use negative values to compensate propagation delays for output switching.

outTarget Tout

The (numeric) target output value to be searched.

closestIndex Site<int>

Output - contains the index of the input step found.

Returns

Site<Tin>

The input value resulting in an output closest to the target.

Type Parameters

Tin

The type of the input condition for the device.

Tout

The type of the device's output.

LinearFullProcess<Tin, Tout>(List<Site<Tout>>, Tin, Tin, Tin, Tout, out Site<int>, out Site<Tout>)

Processes the measurements of a linear full search to find the device input condition resulting in an output closest to the (numeric) target. Additionally provides the index and output value of the input step found.

public virtual Site<Tin> LinearFullProcess<Tin, Tout>(List<Site<Tout>> outValues, Tin inFrom, Tin inIncrement, Tin inOffset, Tout outTarget, out Site<int> closestIndex, out Site<Tout> closestOut)

Parameters

outValues List<Site<Tout>>

The collected measurements for all executed steps.

inFrom Tin

The starting value of the linear input ramp.

inIncrement Tin

The per-step increment of the linear input ramp.

inOffset Tin

The offset to correct the calculated input value. Use negative values to compensate propagation delays for output switching.

outTarget Tout

The (numeric) target output value to be searched.

closestIndex Site<int>

Output - contains the index of the input step found.

closestOut Site<Tout>

Output - contains the output value of the input step found.

Returns

Site<Tin>

The input value resulting in an output closest to the target.

Type Parameters

Tin

The type of the input condition for the device.

Tout

The type of the device's output.

LinearFullProcess<Tin, Tout>(Site<Samples<Tout>>, Tin, Tin, Tin, Tin, Func<Tout, bool>)

Processes the measurements of a linear full search to find the device input condition satisfying the trip criteria on the output.

public virtual Site<Tin> LinearFullProcess<Tin, Tout>(Site<Samples<Tout>> outValues, Tin inFrom, Tin inIncrement, Tin inOffset, Tin inNotFoundResult, Func<Tout, bool> outTripCriteria)

Parameters

outValues Site<Samples<Tout>>

The collected measurements for all executed steps.

inFrom Tin

The starting value of the linear input ramp.

inIncrement Tin

The per-step increment of the linear input ramp.

inOffset Tin

The offset to correct the calculated input value. Use negative values to compensate propagation delays for output switching.

inNotFoundResult Tin

The return value for the case when the trip criteria was never found.

outTripCriteria Func<Tout, bool>

A delegate indicating the output meets the condition required for the input value searched.

Returns

Site<Tin>

The first input value resulting in an output satisfying the trip criteria.

Type Parameters

Tin

The type of the input condition for the device.

Tout

The type of the device's output.

LinearFullProcess<Tin, Tout>(Site<Samples<Tout>>, Tin, Tin, Tin, Tin, Func<Tout, bool>, out Site<int>)

Processes the measurements of a linear full search to find the device input condition satisfying the trip criteria on the output. Additionally provides the index of the input step found.

public virtual Site<Tin> LinearFullProcess<Tin, Tout>(Site<Samples<Tout>> outValues, Tin inFrom, Tin inIncrement, Tin inOffset, Tin inNotFoundResult, Func<Tout, bool> outTripCriteria, out Site<int> tripIndex)

Parameters

outValues Site<Samples<Tout>>

The collected measurements for all executed steps.

inFrom Tin

The starting value of the linear input ramp.

inIncrement Tin

The per-step increment of the linear input ramp.

inOffset Tin

The offset to correct the calculated input value. Use negative values to compensate propagation delays for output switching.

inNotFoundResult Tin

The return value for the case when the trip criteria was never found.

outTripCriteria Func<Tout, bool>

A delegate indicating the output meets the condition required for the input value searched.

tripIndex Site<int>

Output - contains the index of the input step found.

Returns

Site<Tin>

The first input value resulting in an output satisfying the trip criteria.

Type Parameters

Tin

The type of the input condition for the device.

Tout

The type of the device's output.

LinearFullProcess<Tin, Tout>(Site<Samples<Tout>>, Tin, Tin, Tin, Tin, Func<Tout, bool>, out Site<int>, out Site<Tout>)

Processes the measurements of a linear full search to find the device input condition satisfying the trip criteria on the output. Additionally provides the index and output value of the input step found.

public virtual Site<Tin> LinearFullProcess<Tin, Tout>(Site<Samples<Tout>> outValues, Tin inFrom, Tin inIncrement, Tin inOffset, Tin inNotFoundResult, Func<Tout, bool> outTripCriteria, out Site<int> tripIndex, out Site<Tout> tripOut)

Parameters

outValues Site<Samples<Tout>>

The collected measurements for all executed steps.

inFrom Tin

The starting value of the linear input ramp.

inIncrement Tin

The per-step increment of the linear input ramp.

inOffset Tin

The offset to correct the calculated input value. Use negative values to compensate propagation delays for output switching.

inNotFoundResult Tin

The return value for the case when the trip criteria was never found.

outTripCriteria Func<Tout, bool>

A delegate indicating the output meets the condition required for the input value searched.

tripIndex Site<int>

Output - contains the index of the input step found.

tripOut Site<Tout>

Output - contains the output value of the input step found.

Returns

Site<Tin>

The first input value resulting in an output satisfying the trip criteria.

Type Parameters

Tin

The type of the input condition for the device.

Tout

The type of the device's output.

LinearFullProcess<Tin, Tout>(Site<Samples<Tout>>, Tin, Tin, Tin, Tout)

Processes the measurements of a linear full search to find the device input condition resulting in an output closest to the (numeric) target.

public virtual Site<Tin> LinearFullProcess<Tin, Tout>(Site<Samples<Tout>> outValues, Tin inFrom, Tin inIncrement, Tin inOffset, Tout outTarget)

Parameters

outValues Site<Samples<Tout>>

The collected measurements for all executed steps.

inFrom Tin

The starting value of the linear input ramp.

inIncrement Tin

The per-step increment of the linear input ramp.

inOffset Tin

The offset to correct the calculated input value. Use negative values to compensate propagation delays for output switching.

outTarget Tout

The (numeric) target output value to be searched.

Returns

Site<Tin>

The input value resulting in an output closest to the target.

Type Parameters

Tin

The type of the input condition for the device.

Tout

The type of the device's output.

LinearFullProcess<Tin, Tout>(Site<Samples<Tout>>, Tin, Tin, Tin, Tout, out Site<int>)

Processes the measurements of a linear full search to find the device input condition resulting in an output closest to the (numeric) target. Additionally provides the index of the input step found.

public virtual Site<Tin> LinearFullProcess<Tin, Tout>(Site<Samples<Tout>> outValues, Tin inFrom, Tin inIncrement, Tin inOffset, Tout outTarget, out Site<int> closestIndex)

Parameters

outValues Site<Samples<Tout>>

The collected measurements for all executed steps.

inFrom Tin

The starting value of the linear input ramp.

inIncrement Tin

The per-step increment of the linear input ramp.

inOffset Tin

The offset to correct the calculated input value. Use negative values to compensate propagation delays for output switching.

outTarget Tout

The (numeric) target output value to be searched.

closestIndex Site<int>

Output - contains the index of the input step found.

Returns

Site<Tin>

The input value resulting in an output closest to the target.

Type Parameters

Tin

The type of the input condition for the device.

Tout

The type of the device's output.

LinearFullProcess<Tin, Tout>(Site<Samples<Tout>>, Tin, Tin, Tin, Tout, out Site<int>, out Site<Tout>)

Processes the measurements of a linear full search to find the device input condition resulting in an output closest to the (numeric) target. Additionally provides the index and output value of the input step found.

public virtual Site<Tin> LinearFullProcess<Tin, Tout>(Site<Samples<Tout>> outValues, Tin inFrom, Tin inIncrement, Tin inOffset, Tout outTarget, out Site<int> closestIndex, out Site<Tout> closestOut)

Parameters

outValues Site<Samples<Tout>>

The collected measurements for all executed steps.

inFrom Tin

The starting value of the linear input ramp.

inIncrement Tin

The per-step increment of the linear input ramp.

inOffset Tin

The offset to correct the calculated input value. Use negative values to compensate propagation delays for output switching.

outTarget Tout

The (numeric) target output value to be searched.

closestIndex Site<int>

Output - contains the index of the input step found.

closestOut Site<Tout>

Output - contains the output value of the input step found.

Returns

Site<Tin>

The input value resulting in an output closest to the target.

Type Parameters

Tin

The type of the input condition for the device.

Tout

The type of the device's output.