Skip to content

Commit

Permalink
Remove missing commands from ParityGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
tillvit committed Feb 10, 2024
1 parent e03f7fd commit 7e7019f
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions app/src/util/ParityGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ enum Foot {
const FEET = [Foot.LEFT_HEEL, Foot.LEFT_TOE, Foot.RIGHT_HEEL, Foot.RIGHT_TOE]
const FEET_LABEL = "LlRr"

interface Action {
head?: Action
parent?: Action
initialState: State
resultState: State
cost: number
}

interface State {
columns: Foot[]
movedFeet: Set<Foot>
Expand Down Expand Up @@ -140,15 +132,7 @@ export class ParityGenerator {
help() {
console.log(`Currently only compatible with dance-single.
Available commands:
analyze(options): analyze the current chart
options: {
log = false: do logging with intermediate steps
delay = 0: delay in ms between each row (set to 0 for instant)
searchDepth = 16: number of lookahead rows
searchBreadth = 30: number of candidates kept at each lookahead step
}
leave options blank for default
stopAnalyzing(): stop analysis in case something goes wrong
analyze(): analyze the current chart
clear(): clear parity highlights`)
}

Expand Down Expand Up @@ -1062,10 +1046,6 @@ clear(): clear parity highlights`)
}
}

stopAnalyzing() {
this.stop = true
}

clear() {
const notedata = this.app.chartManager.loadedChart?.getNotedata()
if (!notedata) return
Expand Down

0 comments on commit 7e7019f

Please sign in to comment.