Module cluster_linking

Gathers information about how the clusters must be linked, in which order they must be in their respective files, and which extra functions must be created.

Copyright © (C) 2015, Pablo Lamela, Simon Thompson

Authors: Pablo Lamela Seijas (P.Lamela-Seijas@kent.ac.uk), Simon Thompson (S.J.Thompson@kent.ac.uk).

Description

Gathers information about how the clusters must be linked, in which order they must be in their respective files, and which extra functions must be created.

Function Index

get_actual_name/2 Get the name that the function with name Name is supposed to have.
get_original_name/2 Gets the original name that the function with name Name had.
link_clusters/6 It links the clusters so as to keep the relationships in the original trees, while keeping the calls to exclusive clusters (from common cluster) symmetrical, and keeping the number of artifacts used to a minimum.

Function Details

get_actual_name/2

get_actual_name(Name::string(), Acc::cluster_folding:acc()) -> string()

Get the name that the function with name Name is supposed to have.

get_original_name/2

get_original_name(Name::string(), Acc::cluster_folding:acc()) -> string()

Gets the original name that the function with name Name had.

link_clusters/6

link_clusters(ClusterDict, ClusterDict, ClusterDict, Tree, Tree, Mapping) -> cluster_folding:acc()

It links the clusters so as to keep the relationships in the original trees, while keeping the calls to exclusive clusters (from common cluster) symmetrical, and keeping the number of artifacts used to a minimum. It accumulates all information in an #acc{} record that should be enough to generate the three trees directly.


Generated by EDoc, Nov 5 2015, 16:30:19.