Skip to content

AlgoType.AlgoKind

property · AlgoType · cAlgo.API

DesktopCLICloud

Gets algorithm kind.

Environment behaviour

Cloud — not supported. Never available in the cloud: it is only returned by members that do not work there (AlgoRegistry, AlgoRegistry.Get).

Definition

AlgoKind AlgoKind {get;}
algoType.AlgoKind: AlgoKind

Returns AlgoKind

Examples

foreach (var algoType in AlgoRegistry)
{
    if (algoType.AlgoKind == AlgoKind.Robot)
        Print("cBot: {0}", algoType.Name);
}
for algoType in api.AlgoRegistry:
    if algoType.AlgoKind == AlgoKind.Robot:
        api.Print(f"cBot: {algoType.Name}")