binary-decision-diagram
Version:
A library to create, minimize and optimize binary decision diagrams
16 lines (15 loc) • 409 B
TypeScript
import type { NonLeafNode, NonRootNode } from './types.js';
/**
* represents the parents of a single node
*/
export declare class Parents {
node: NonRootNode;
private parents;
constructor(node: NonRootNode);
remove(node: NonLeafNode): void;
getAll(): NonLeafNode[];
add(node: NonLeafNode): void;
has(node: NonLeafNode): boolean;
toString(): string;
get size(): number;
}