Create a basic belief node that can be used in further stages to create inferred belief and be inputs for other nodes. #32
@@ -97,5 +97,5 @@ export const NodesInPhase = {
|
||||
start: () => false,
|
||||
end: () => false,
|
||||
phase: () => false,
|
||||
// basic_belief: () => false,
|
||||
basic_belief: () => false,
|
||||
}
|
||||
@@ -96,7 +96,7 @@ export function PhaseReduce(node: Node, nodes: Node[]) {
|
||||
console.warn(`No reducer found for node type ${type}`);
|
||||
result[type + "s"] = [];
|
||||
} else {
|
||||
result[type + "s"] = typedChildren.map((child) => reducer(child, nodes));
|
||||
result[type + "s"] = typedChildren.map((child) => reducer(child as any, nodes));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user