NodeP DetermineGraphRulesComponentAndOptimiseLambdas (NodeP root_p,unsigned int *ancest_p);