Parameters
- solverParams: {
constraints: {
taco_taco: TacoTacoConstraint[];
taco_tortilla: TacoTortillaConstraint[];
tortilla_tortilla: TortillaTortillaConstraint[];
transitivity: TransitivityConstraint[];
};
facePairs: string[];
lookup: {
taco_taco: number[][];
taco_tortilla: number[][];
tortilla_tortilla: number[][];
transitivity: number[][];
};
orders: {
[key: string]: number;
};
}facePairs: string[]
lookup: {
taco_taco: number[][];
taco_tortilla: number[][];
tortilla_tortilla: number[][];
transitivity: number[][];
}
taco_taco: number[][]
taco_tortilla: number[][]
tortilla_tortilla: number[][]
transitivity: number[][]
orders: {
[key: string]: number;
}
Returns {
branches: {
[key: string]: number;
}[][];
root: {
[key: string]: number;
};
}
a set of solutions where keys are space-separated face pair strings,
and values are 1 or 2 describing the relationship of the two faces.
Results are stored in "root" and "branches", to compile a complete solution,
append the "root" to one selection from each array in "branches".
branches: {
[key: string]: number;
}[][]
root: {
[key: string]: number;
}
the parameters for the solver which include: