csc.update.RegularFunction¶
- class csc.update.RegularFunction¶
RegularFunction class represents a node that calculates same operation, done with datas.
- __init__(*args, **kwargs)¶
Methods
__init__(*args, **kwargs)activity(self)activity attributes
arguments(self)its input arguments
attributes(self, d)array of all input and output attributes
decrease_vector(self, path, direction)method that decreases vector attribute
equal_to(self, arg0)full_name(self)name with all the parent nodes
func_id(self)its id
has_input(self, name)check if there is an input with such a name
has_output(self, name)check if there is an output with such a name
id(self)get uniqui id
increase_vector(self, path, direction)method that increases vector attribute
input(self, name)shortcut if node has only one input attribute
inputs(self)array of all the inputes attributes
is_active(self)check whether it is active for current actualities states (see Additional functionality in csc.update.UpdateEditor)
is_convertible(self)check whether this function will make it to the resulting data graph
is_fictive(self)whether it is a fictive node (constants, inputs, outputs of a group or external properties)
name(self)get name
output(self, name)shortcut if node has only one output attribute
outputs(self)array of all the outputs attributes
parent_group(self)return parent group (where this group node is located)
parent_object(self)return object of the node.
remove_attribute(self, attribute)method that removes one in vector attribute
resize_vector_inputs(self, count, path)method that resizes input vector attribute
resize_vector_outputs(self, count, path)method that resizes output vector attribute
results(self)its output arguments
set_convertible(self, convertible)set the state of the function, whether it will be used or not
set_name(self, name)rename node
- __annotations__ = {}¶
- __init__(*args, **kwargs)¶
- __module__ = 'csc.update'¶
- activity(self: csc.update.RegularFunction) csc.update.ActivityAttribute¶
activity attributes
- arguments(self: csc.update.RegularFunction) list[csc.update.RegularFunctionAttribute]¶
its input arguments
- decrease_vector(self: csc.update.RegularFunction, path: str, direction: csc.Direction) None¶
method that decreases vector attribute
- func_id(self: csc.update.RegularFunction) csc.model.HyperedgeId¶
its id
- increase_vector(self: csc.update.RegularFunction, path: str, direction: csc.Direction) csc.update.RegularFunctionAttribute¶
method that increases vector attribute
- is_convertible(self: csc.update.RegularFunction) bool¶
check whether this function will make it to the resulting data graph
- remove_attribute(self: csc.update.RegularFunction, attribute: csc.update.RegularFunctionAttribute) None¶
method that removes one in vector attribute
- resize_vector_inputs(self: csc.update.RegularFunction, count: int, path: str) None¶
method that resizes input vector attribute
- resize_vector_outputs(self: csc.update.RegularFunction, count: int, path: str) None¶
method that resizes output vector attribute
- results(self: csc.update.RegularFunction) list[csc.update.RegularFunctionAttribute]¶
its output arguments
- set_convertible(self: csc.update.RegularFunction, convertible: bool) None¶
set the state of the function, whether it will be used or not