Options
All
  • Public
  • Public/Protected
  • All
Menu

Rule class for the Mystery Master Logic Puzzle Solver.

copyright

mysterymaster.com. All rights reserved.

author

Michael Benson

version

2021-08-01

Hierarchy

  • Rule

Index

Constructors

constructor

  • new Rule(num: number, name: string, nouns?: Noun[], initEnabled?: boolean): Rule
  • Parameters

    • num: number
    • name: string
    • nouns: Noun[] = []
    • initEnabled: boolean = true

    Returns Rule

Properties

enabled

enabled: boolean

f

f: RuleFunction = null

hits

hits: number = 0

initEnabled

initEnabled: boolean

name

name: string

nouns

nouns: Noun[]

num

num: number

Methods

asString

  • asString(): string
  • Returns string

reset

  • reset(): void
  • Returns void

toString

  • toString(): string
  • Returns string

Generated using TypeDoc