Search Results for

    Show / Hide Table of Contents

    Class AlgorithmManager.AlgorithmInfo

    Represents a single particle algorithm and contains all information needed to create particles for it.

    Inheritance
    object
    AlgorithmManager.AlgorithmInfo
    Namespace: AS2
    Assembly: .dll
    Syntax
    private class AlgorithmManager.AlgorithmInfo

    Constructors

    | Edit this page View Source

    AlgorithmInfo(string, Type, ConstructorInfo, MethodInfo, string, Tuple<StatusInfoAttribute, MethodInfo>[])

    Declaration
    public AlgorithmInfo(string name, Type type, ConstructorInfo ctor, MethodInfo initMethod, string generationMethod, Tuple<StatusInfoAttribute, MethodInfo>[] statusInfoMethods)
    Parameters
    Type Name Description
    string name
    Type type
    ConstructorInfo ctor
    MethodInfo initMethod
    string generationMethod
    Tuple<StatusInfoAttribute, MethodInfo>[] statusInfoMethods

    Fields

    | Edit this page View Source

    ctor

    Reference to the algorithm's constructor. This must be the constructor that gets a single parameter of type Particle.

    Declaration
    public ConstructorInfo ctor
    Field Value
    Type Description
    ConstructorInfo
    | Edit this page View Source

    generationMethod

    The full name of the algorithm's generator class. This is a class that inherits from InitializationMethod and that is used to initialize the particle system. Has a default value if the algorithm does not specify a method.

    Declaration
    public string generationMethod
    Field Value
    Type Description
    string
    | Edit this page View Source

    initMethod

    Reference to the algorithm's Init method. May be null if the algorithm does not implement this method.

    Declaration
    public MethodInfo initMethod
    Field Value
    Type Description
    MethodInfo
    | Edit this page View Source

    name

    The string ID of the algorithm.

    Declaration
    public string name
    Field Value
    Type Description
    string
    | Edit this page View Source

    statusInfoMethods

    The attributes and method references of the status info methods defined by the algorithm.

    Declaration
    public Tuple<StatusInfoAttribute, MethodInfo>[] statusInfoMethods
    Field Value
    Type Description
    Tuple<StatusInfoAttribute, MethodInfo>[]
    | Edit this page View Source

    type

    The type of the algorithm class.

    Declaration
    public Type type
    Field Value
    Type Description
    Type
    • Edit this page
    • View Source
    In this article
    Back to top AmoebotSim 2.0 Documentation v1.11
    Copyright © 2025 AmoebotSim 2.0 Authors
    Generated by DocFX