precedence-diagram-method
Version:
An API to calculate the precedence diagram method
20 lines (19 loc) • 866 B
TypeScript
export default class PrecedenceGraph {
graph: any;
startNodeLabel: any;
constructor(graph: any, startNodeLabel: any);
getGraph(): any;
getStartNode(): any;
static hasLoop(graphJSON: any): boolean;
static resetCalcedTimesGraph(graphJSON: any): any;
static calcForwardGraph(graph: any, startNodeLabel: any): any;
static getFromAllEarliestEndsTheLatest(graph: any): number;
static setLatestStartToAllLeafes(graph: any): any;
static calcBackwardGraph(graph: any): any;
static calcBackwardGraphForEndlabel(graphJSON: any, endNodeLabel: any): any;
isCriticalPath(parentId: any, childId: any): boolean;
static isCriticalPath(parent: any, child: any): boolean;
getCriticalPaths(): any[];
static getCriticalPaths(graphJSON: any, startNodeLabel: any): any[];
static getAllLeafes(graphJSON: any): string[];
}