MCPcopy Create free account

hub / github.com/bterwijn/memory_graph / functions

Functions477 in github.com/bterwijn/memory_graph

↓ 42 callersMethodget_slices
(self, length)
memory_graph/slicer.py:20
↓ 32 callersMethodadd_slice
(self, begin_end, remove_interposed_dots=1)
memory_graph/slices.py:76
↓ 24 callersMethodcopy
(self)
memory_graph/slices.py:61
↓ 20 callersFunctionfun
()
src/lazy_yield.py:5
↓ 11 callersMethodadd_value
Helper function to add 'value' to the table.
memory_graph/html_table.py:78
↓ 11 callersMethodcopy
Return a deep copy of the current board.
src/sliding_puzzle.py:99
↓ 11 callersMethodget_children
Return the children of the node. Initially the children are raw data, but later they too are converted to Node_Base by the Memory_vi
memory_graph/node_base.py:84
↓ 11 callersMethodsize
(self)
memory_graph/sequence.py:17
↓ 10 callersMethodadd_new_line
Set the 'add_new_line_flag' to add a new line to the table when adding the next table element.
memory_graph/html_table.py:46
↓ 9 callersMethodget_id
Return the id of the node.
memory_graph/node_base.py:48
↓ 9 callersMethodtable_iter
(self, size)
memory_graph/slices.py:38
↓ 8 callersMethodadd_dots
Helper function to add dots to the table.
memory_graph/html_table.py:96
↓ 8 callersFunctionget_locals_from_call_stack
Helper function to get locals of the stack with 'stack_inex' of the call stack.
memory_graph/__init__.py:178
↓ 8 callersFunctionstack
(end_functions=["<module>"], stack_index=0)
memory_graph/__init__.py:291
↓ 7 callersMethodadd_entry
Add child to the table either as reference if it is a Node_Base or as a value otherwise.
memory_graph/html_table.py:66
↓ 6 callersFunctionget_property
(data_id, data_types, node_type, dictionary, default)
memory_graph/config_helpers.py:11
↓ 6 callersMethodget_type
Return the type of the data represented by the node.
memory_graph/node_base.py:72
↓ 6 callersMethodinsert
(self, value)
memory_graph/test.py:206
↓ 6 callersMethodis_hidden_node
Return if the node is a hidden node in the graph.
memory_graph/node_base.py:110
↓ 6 callersFunctionrender
Renders the graph of 'data' to 'outfile' or `memory_graph.render_filename` when not specified.
memory_graph/__init__.py:81
↓ 6 callersFunctionstack_slice
Returns a slice of the call stack. Parameters: begin_functions - list of (function-name, offset), begins at the index of the first
memory_graph/__init__.py:224
↓ 5 callersMethodadd
(self, value)
src/bin_tree.py:10
↓ 5 callersMethodadd_index
(self, index, dashed=False)
memory_graph/slices.py:157
↓ 5 callersMethodget_data
Return the original data represented by the node.
memory_graph/node_base.py:66
↓ 5 callersMethodget_name
Return a unique name for the node.
memory_graph/node_base.py:91
↓ 5 callersMethodget_type_name
Return the name of the type of the data represented by the node.
memory_graph/node_base.py:78
↓ 4 callersMethodadd_index
(self, index)
memory_graph/slices.py:34
↓ 4 callersMethodcheck_add_new_line
Check if a new line should be added to the table, and if so add it and sets the 'add_new_line_flag' to False.
memory_graph/html_table.py:54
↓ 4 callersMethodget_value_dashed
(nodes, child, index, id_to_slices)
memory_graph/node_key_value.py:67
↓ 4 callersMethodis_dashed
(self, index)
memory_graph/slices.py:22
↓ 4 callersMethodsend
(self, to_nr, message)
src/inheritance.py:30
↓ 3 callersMethod_get_bucket
(self, key)
src/hash_map.py:13
↓ 3 callersFunctionbuiltin_children
(cls)
images/exception_tree.py:5
↓ 3 callersMethodget_col_slices
(self)
memory_graph/slices.py:147
↓ 3 callersMethodget_parent_indices
(self)
memory_graph/node_base.py:45
↓ 3 callersMethodget_size
(self)
src/rolling_average.py:24
↓ 3 callersMethodhas_index
(self, index)
memory_graph/slices.py:30
↓ 3 callersFunctionjupyter_locals_filter
Filter out the jupyter specific keys that polute the graph.
memory_graph/__init__.py:433
↓ 3 callersMethodkeys
(self)
src/hash_map.py:56
↓ 3 callersMethodmy_instance_method
(self)
src/different_methods.py:13
↓ 3 callersFunctionset_colors
(dark=None, transparent=None)
memory_graph/config_default.py:80
↓ 3 callersFunctionstack_frames_to_dict
Returns a dictionary representing the data on the call stack. Each key is the stack level and function name, each value is the locals of the fra
memory_graph/__init__.py:193
↓ 3 callersMethodto_string
Construct the HTML table string with the 'border' and 'color' settings.
memory_graph/html_table.py:103
↓ 2 callersMethod__init__
(self)
memory_graph/slices.py:16
↓ 2 callersMethod__init__
(self, n)
images/introspect_depth.py:20
↓ 2 callersMethod__repr__
(self)
memory_graph/slices.py:19
↓ 2 callersMethod_forward_begin
(self)
src/rolling_average.py:20
↓ 2 callersMethodadd_index_or_name
(self, html_table, index, names)
memory_graph/node_table.py:30
↓ 2 callersFunctionadd_indices_to_parents
Go over each parent of 'node_id', and add each missing index to each if it is missing. Don't add more than 'max_missing_edges' for each type
memory_graph/memory_to_nodes.py:132
↓ 2 callersFunctioncolab_locals_filter
Filter out the colab specific keys that polute the graph.
memory_graph/__init__.py:472
↓ 2 callersMethodembed_key
(key)
memory_graph/node_key_value.py:78
↓ 2 callersFunctionformat_name
(name, highlight_exceptions)
images/exception_tree.py:8
↓ 2 callersMethodget_average
(self)
src/rolling_average.py:27
↓ 2 callersMethodget_childeren
Generate all possible child boards from the current board by sliding each possible tile into the empty space.
src/sliding_puzzle.py:103
↓ 2 callersFunctionget_numpy_immutables
()
memory_graph/extension_numpy.py:20
↓ 2 callersMethodget_row_slices
(self)
memory_graph/slices.py:144
↓ 2 callersFunctionhtml_escape
Escape HTML characters in 's' for safe display in the graph.
memory_graph/utils.py:35
↓ 2 callersFunctionhtml_table_frame
Helper function to add the HTML table frame to the string s setting the 'border' and 'color'.
memory_graph/html_table.py:9
↓ 2 callersMethodindices_all
(self)
memory_graph/sequence.py:29
↓ 2 callersFunctionipython_locals_filter
Filter out the ipython specific keys that polute the graph.
memory_graph/__init__.py:453
↓ 2 callersMethodis_empty
(self)
memory_graph/slices.py:42
↓ 2 callersFunctionis_not_state
Returns 'True' if 'obj' is not considered state, e.g. a function or method.
memory_graph/utils.py:111
↓ 2 callersFunctionmarimo_locals_filter
Filter out the marimo specific keys that polute the graph.
memory_graph/__init__.py:491
↓ 2 callersFunctionnewlines_to_br
Replace newlines in 's' with <BR/> tags for HTML display.
memory_graph/utils.py:39
↓ 2 callersFunctionpr
(tag, v)
src/lazy_express.py:1
↓ 2 callersFunctionpr
(tag, v)
src/lazy_yield.py:1
↓ 2 callersFunctionpr
(tag, v)
src/eager_compri.py:1
↓ 2 callersFunctionpr
(tag, v)
src/eager_return.py:1
↓ 2 callersMethodremove
(self, value)
src/hash_set.py:22
↓ 2 callersMethodslice
(self, slicer)
memory_graph/sequence.py:25
↓ 2 callersFunctionstack_begin_index
Returns the index of stack_functions that matches the first name in 'begin_functions' and adds corresponding 'offset'.
memory_graph/__init__.py:202
↓ 2 callersFunctionstack_end_index
Returns the index starting from 'begin_index' of stack_functions that matches the first name in end_functions.
memory_graph/__init__.py:212
↓ 2 callersFunctiontest_slicing
(sequence, slicer)
memory_graph/test_sequence.py:13
↓ 2 callersFunctionword_completions
(trie, prefix)
src/build_trie.py:18
↓ 1 callersMethod__init__
(self, priority, from_nr)
src/inheritance.py:26
↓ 1 callersMethod_build_tree
Recursively build the decision tree. Args: data: Subset of training data for this node Returns:
src/decision_tree.py:31
↓ 1 callersMethod_find_best_split
Find the best split point using information gain or similar metric. Args: data: Training data subset
src/decision_tree.py:79
↓ 1 callersMethod_find_child_index
(self, value)
src/multiway_tree.py:13
↓ 1 callersMethod_forward_end
(self)
src/rolling_average.py:16
↓ 1 callersMethod_information_gain
Calculate information gain of a split. Args: parent: Parent dataset left: Left child dataset righ
src/decision_tree.py:123
↓ 1 callersMethod_predict_recursive
Recursively traverse tree to make prediction.
src/decision_tree.py:172
↓ 1 callersMethodadd
(self, value)
src/hash_set.py:8
↓ 1 callersMethodadd
(self, value)
images/bin_tree.py:16
↓ 1 callersMethodadd
(self, value)
images/hash_set.py:14
↓ 1 callersMethodadd_back
(self, value)
src/linked_list_lin.py:17
↓ 1 callersMethodadd_back
(self, value)
src/linked_list.py:10
↓ 1 callersMethodadd_back
(self, value)
images/linked_list.py:18
↓ 1 callersMethodadd_edge
(self, node)
src/graph_to_nodes.py:22
↓ 1 callersFunctionadd_exception_tree
(dot, drop_exceptions, highlight_exceptions, cls=BaseException)
images/exception_tree.py:22
↓ 1 callersFunctionadd_missing_edges
Add missing edges to each visible node in the graph by addding slices to 'id_to_slices'. It either shows all edges to a node, or uses dashed edge
memory_graph/memory_to_nodes.py:109
↓ 1 callersFunctionadd_one
(a, b)
src/wrap.py:1
↓ 1 callersFunctionadd_one
(a, b, c)
src/function_call.py:1
↓ 1 callersFunctionadd_one
(a, b)
images/wrap_int.py:7
↓ 1 callersFunctionadd_one
(a, b, c)
images/add_one.py:7
↓ 1 callersMethodadd_parent_index
Add a parent to the node.
memory_graph/node_base.py:31
↓ 1 callersFunctionadd_parent_indices
Add missing edges in 'type_to_parent_indices' to each parent. If the parent wasn't visible before, recursively add missing edges to its paren
memory_graph/memory_to_nodes.py:114
↓ 1 callersMethodadd_reference
Helper function to add a reference to the table.
memory_graph/html_table.py:86
↓ 1 callersFunctionadd_subgraph
Adds a subgraph to 'graphviz_graph' for 'nodes_to_subgraph'.
memory_graph/memory_to_nodes.py:207
↓ 1 callersFunctionadd_to_graphviz_graph
Adds 'node' to 'graphviz_graph' with its children and edges.
memory_graph/memory_to_nodes.py:213
↓ 1 callersMethodadd_value
(self, value)
src/multiway_tree.py:19
next →1–100 of 477, ranked by callers