ultra-mega-enumerator
Version:
Ultra Mega Enumerator is a lightweight library designed to enumerate various combinatorial objects.
43 lines (42 loc) • 1.58 kB
TypeScript
import { ImmutableCombination } from './ImmutableCombination';
export declare class PCS12 extends ImmutableCombination {
private static ChordCombinationDict;
private static ForteNumbersDict;
private static ForteNumbersRotationDict;
private static ForteNumbersToPCS12Dict;
private static ForteNumbersCommonNames;
constructor(set: Set<number>);
static identify(input: ImmutableCombination): PCS12;
static empty(): PCS12;
getIntervals(): number[];
static generate(): Set<PCS12>;
getForteNumber(): string;
getMean(): number;
transpose(t: number): PCS12;
intersect(other: PCS12): PCS12;
minus(other: PCS12): PCS12;
static getChords(): Set<PCS12>;
private static fillForteNumbersDict;
static ForteStringComparator: (o1: string, o2: string) => number;
static ReverseForteStringComparator: (o1: string, o2: string) => number;
getForteAB(): string;
rotatedCompareTo(other: PCS12, rotate: number): number;
static parseForte(input: string): PCS12 | undefined;
combineWith(x: PCS12): PCS12;
getCommonName(): string;
getForteNumberOrder(): number;
getForteNumberRotation(): number;
toString(): string;
private symmetries;
getSymmetries(): Array<number>;
static getForteChordDict(): {
[key: string]: PCS12;
};
private static generateMaps;
calcCenterTuning(center: number): number;
getPotentialKeys(): number[];
private static _isInitializing;
static init(): Promise<void>;
private static _isInitialized;
static isInitialized(): boolean;
}