Pseudoforest
A pseudoforest is an undirected graph in which every connected component has at most one cycle
Intuition: If a connected undirected graph on vertices has edges, then it is a tree. If a connected undirected graph on vertices has edges, then it has exactly one cycle (i.e. an underlying tree, with an additional edge which closes the cycle). Hence, a pseudoforest consists of connected components, where each component on vertices consists of either or edges.
Directed pseudoforests
The concept of a pseudoforest can also be extended to include directed graphs. A directed pseudoforest is a directed graph in which each vertex has at most one outgoing edge; that is, it has outdegree at most one. In the special case where each vertex has outdegree exactly one, the graph is called a functional graph

