A function that does one step through all the nodes in a latent-factor graph and tries to identify new edge coefficients using the existence of latent-factor half-trek systems.
lfhtcIdentifyStep(
  graph,
  unsolvedParents,
  solvedParents,
  activeFroms,
  Zs,
  Ls,
  identifier,
  subsetSizeControl = Inf
)a list with four components:
identifiedEdgesa matrix rx2 matrix where r is the number
  of edges that where identified by this function call and
  identifiedEdges[i,1] -> identifiedEdges[i,2] was the ith edge
  identified
unsolvedParentsas the input argument but updated with any newly identified edges
solvedParentsas the input argument but updated with any newly identified edges
identifieras the input argument but updated with any newly identified edges
activeFromsas the input argument but updated with any newly solved node
Zsas the input argument but updated with any newly solved node
Lsas the input argument but updated with any newly solved node
a LatentDigraph object representing
the latent-factor graph. All latent nodes in this graph should be
source nodes (i.e. have no parents).
a list whose ith index is a vector of all the parents j of i in the graph which for which the edge j->i is not yet known to be generically identifiable.
the complement of unsolvedParents, a list whose
ith index is a vector of all parents j of i for which the edge i->j
is known to be generically identifiable (perhaps by other algorithms).
list. If node i is solved then the ith index is a vector containing the nodes Y otherwise it is empty.
list. If node i is solved then the ith index is a vector containing the nodes Z otherwise it is empty.
list. If node i is solved then the ith index is a vector containing the nodes Z otherwise it is empty.
an identification function that must produce the
identifications corresponding to those in solved parents. That is
identifier should be a function taking a single argument Sigma
(any generically generated covariance matrix corresponding
to the latent-factor graph) and returns a list with two named arguments
the largest subset of latent nodes to consider.
Barber, R. F., Drton, M., Sturma, N., and Weihs L. (2022). Half-Trek Criterion for Identifiability of Latent Variable Models. arXiv preprint arXiv:2201.04457