A helper function for ancestralIdentifyStep, creates an identifier function based on its given parameters. This created identifier function will identify the directed edges from 'targets' to 'node.'
createAncestralIdentifier(
idFunc,
sources,
targets,
node,
htrSources,
ancestralSubset,
cComponent
)
an identification function
identification of edge coefficients often requires that other edge coefficients already be identified. This argument should be a function that produces all such identifications. The newly created identifier function will return these identifications along with its own.
the sources of the half-trek system.
the targets of the half-trek system (these should be the parents of node).
the node for which all incoming edges are to be identified (the tails of which are targets).
the nodes in sources which are half-trek reachable from node. All incoming edges to these sources should be identified by idFunc for the newly created identification function to work.
an ancestral subset of the graph containing node.
a list corresponding to the c-component containing node
in the subgraph induced by ancestralSubset. See
tianDecompose
for how such c-component lists are formed.