Skip to content

OptimizationIntegerParameter

Summary

An int cBot parameter, optimized over an integer range or held fixed.

Signature

1
public class OptimizationIntegerParameter : OptimizationParameter`1

Namespace

cAlgo.API

See Also

Methods

ToString

Signature

1
public string ToString()

Return Value

string

PrintMembers

Signature

1
protected bool PrintMembers(StringBuilder builder)

Parameters

Name Type Description
builder StringBuilder

Return Value

bool

GetHashCode

Signature

1
public int GetHashCode()

Return Value

int

Equals (3)

Equals (1 of 3)

Signature

1
public bool Equals(object obj)

Parameters

Name Type Description
obj object

Return Value

bool

Equals (2 of 3)

Signature

1
public bool Equals(OptimizationParameter<int> other)

Parameters

Name Type Description
other OptimizationParameter

Return Value

bool

Equals (3 of 3)

Signature

1
public bool Equals(OptimizationIntegerParameter other)

Parameters

Name Type Description
other OptimizationIntegerParameter

Return Value

bool

$

Signature

1
public OptimizationIntegerParameter <Clone>$()

Return Value

OptimizationIntegerParameter

Properties

Min

Summary

Gets the inclusive minimum of the range.

Signature

1
public int Min {get;}

Return Value

int

Max

Summary

Gets the inclusive maximum of the range.

Signature

1
public int Max {get;}

Return Value

int

Step

Summary

Gets the step of the range.

Signature

1
public int Step {get;}

Return Value

int