Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AddGateMutation

Add gate mutation.

Adds a gate to the network.

Hierarchy

Index

Methods

Methods

mutate

  • mutate(network: Network, options?: { maxGates?: undefined | number }): void
  • Mutates the network.

    Parameters

    • network: Network

      The network which gets mutated

    • Default value options: { maxGates?: undefined | number } = {}
      • Optional maxGates?: undefined | number

        Maximum allowed gates.

    Returns void

Generated using TypeDoc