Set Nodes

class setNodes.addSet(parent)[source]

This node takes the Union of two sets and returns the resulting set

count()[source]

This function calculates the number of nodes below it and including itself

evaluate(sets)[source]

This function evaluates the node and returns the resulting set

fillTerms(sets, settings)[source]

After the bbsa places all of the non-terminal nodes, this funciton is called to place the terminal nodes at the bottom of the parse tree

makeProg(numTab, var)[source]

This function generates the code for this node for the external verification

randomize(sets, settings)[source]

This function randomizes the parameters of the node if there are any

toDict()[source]

This function is used to create a dictionary representaion of the bbsa

toString()[source]

This function is used to create a string representaion of the bbsa

update(depth, sets, settings)[source]

This function updates the heights and depths and ensures that the settings pointer is pointing to the right settings object

class setNodes.makeSet(parent)[source]

This node saves a snapshot of the set that is passed into it

count()[source]

This function calculates the number of nodes below it and including itself

evaluate(sets)[source]

This function evaluates the node and returns the resulting set

fillTerms(sets, settings)[source]

After the bbsa places all of the non-terminal nodes, this funciton is called to place the terminal nodes at the bottom of the parse tree

makeProg(numTab, var)[source]

This function generates the code for this node for the external verification

randomize(sets, settings)[source]

This function randomizes the parameters of the node if there are any

toDict()[source]

This function is used to create a dictionary representaion of the bbsa

toString()[source]

This function is used to create a string representaion of the bbsa

update(depth, sets, settings)[source]

This function updates the heights and depths and ensures that the settings pointer is pointing to the right settings object

Previous topic

Nodes

Next topic

Alter Nodes

This Page