topologybuilder

Deprecated since version 0.1.3: Use QRules, AmpForm, and TensorWaves instead.

import pycompwa.expertsystem.topology.topologybuilder

module topologybuilder responsible for building all possible topologies base on basic user input.

  • number of initial state particles

  • number of final state particles

class SimpleStateTransitionTopologyBuilder(interaction_node_set)[source]

Bases: object

Simple topology builder.

Recursively tries to add the interaction nodes to available open end edges/lines in all combinations until the number of open end lines matches the final state lines

build_graphs(number_of_initial_edges, number_of_final_edges)[source]
extend_graph(graph)[source]
attach_node_to_edges(graph, interaction_node, ingoing_edge_ids)[source]