Search Results for

    Show / Hide Table of Contents

    Class LeaderElectionInitializer

    Inheritance
    object
    InitializationMethod
    LeaderElectionInitializer
    Namespace: AS2.Algos.LeaderElection
    Assembly: .dll
    Syntax
    public class LeaderElectionInitializer : InitializationMethod

    Constructors

    | Edit this page View Source

    LeaderElectionInitializer(ParticleSystem)

    Declaration
    public LeaderElectionInitializer(ParticleSystem system)
    Parameters
    Type Name Description
    ParticleSystem system

    Methods

    | Edit this page View Source

    Generate(int, float)

    Declaration
    public void Generate(int numParticles = 50, float holeProb = 0.3)
    Parameters
    Type Name Description
    int numParticles
    float holeProb
    • 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