FYI: I changed the code for descendants, etc, so now it first collates the vertices and then takes the function. It doesn't affect descendants, parents, children, foreFathers and neighbours but IMO makes more sense for non-descendants and non-neighbours.
@lukeamendola @harshitmotwani2015 what are your thoughts on this? I suspect some things in (4) have already been implemented in the TrekSeparation package. Should we move it here?
If you run descendants of a vertex, then the output includes the vertex itself. But if you run children then the vertex is not included https://faculty.math.illinois.edu/Macaulay2/doc/Macaulay2-1.15/share/doc/Macaulay2/Graphs/html/_descendants.html https://faculty.math.illinois.edu/Macaulay2/doc/Macaulay2-1.15/share/doc/Macaulay2/Graphs/html/_children.html
We do not implement most of the properties of Graphs for MixedGraphs.
How should we treat Bigraphs? Right now they just inherit neighbors and non neighbors functions for Graphs.
Sadeghi and Lauritzen Section 3.1 have such concepts:
In GraphicalModels we introduce neighbours of a vertex in the underlying graph of a mixed graph. Should this be implemented in StatGraphs instead? https://github.com/Macaulay2/Workshop-2020-Warwick/blob/ce0c5d8326687b6e989465b68f1ad91d03433128/AlgebraicStatistics/MLE/GraphicalModels.m2#L537-L551
FYI: I changed the code for descendants, etc, so now it first collates the vertices and then takes the function. It doesn't affect descendants, parents, children, foreFathers and neighbours but IMO makes more sense for non-descendants and non-neighbours.