6.1.2.31. pycropml.topology module

class pycropml.topology.Package(name, metainfo, path=None)[source]

Bases: object

class pycropml.topology.PackageManager(proj)[source]

Bases: object

check_exist()[source]
contain_pkg()[source]
get_path(pkg)[source]
class pycropml.topology.Topology(name, pkg=None)[source]

Bases: object

algo2cyml(dir_images=None)[source]
algorithm()[source]
check_compo(mc, m)[source]

check if a model m is a composite model including in mc

compotranslate(language)[source]
createGraph()[source]
create_edgeInOut()[source]
decl(defa=True)[source]
display_wf()[source]
display_wf_svg()[source]
findstates(inputs, outputs)[source]
generate_function_signature(model)[source]
generate_function_signature2(model)[source]
get_mu_inp(pkgname, varname)[source]

get the model unit from an input of a composite model

get_mu_out(pkgname, varname)[source]
info_inputs_mu(ppkg, mu, varname)[source]

get the info of an input of a model unit from its name and the name of the input

info_minout()[source]
info_outputs_mu(ppkg, mu, varname)[source]

get the info of an output of a model unit from its name and the name of the output

initialization2()[source]

call the initialization method of all the models in model(model.model) if it exists

initreturn()[source]
inps_assignment()[source]
isPackage(name)[source]
load_pkge(name)[source]
meta_ext(pkgname)[source]
meta_inp(pkgname)[source]
meta_out(pkgname)[source]
minout()[source]
outs_assignment()[source]
pkg_m(mc, m)[source]

get the name of composite model package

pkgs = {}
retrieve(pkgname)[source]
topologicalSort()[source]
translate()[source]
translate_all(model)[source]
val_init(model)[source]
val_init2(model)[source]
writeSVG()[source]
write_png(dir_images)[source]
write_xml()[source]