@@ -717,7 +717,8 @@ false
717717 <K >false</K > if it is not. A digraph is <E >empty</E > if it has no
718718 edges.<P />
719719
720- <C >IsNullDigraph</C > is a synonym for <C >IsEmptyDigraph</C >.
720+ <Ref Prop =" IsNullDigraph" /> is a synonym for <Ref Prop =" IsEmptyDigraph" />.
721+ See also <Ref Prop =" IsNonemptyDigraph" />.
721722 <P />
722723
723724 &MUTABLE_RECOMPUTED_PROP;
@@ -739,6 +740,93 @@ false]]></Example>
739740</ManSection >
740741<#/GAPDoc>
741742
743+ <#GAPDoc Label="IsNonemptyDigraph">
744+ <ManSection >
745+ <Prop Name =" IsNonemptyDigraph" Arg =" digraph" />
746+ <Returns ><K >true</K > or <K >false</K >.</Returns >
747+ <Description >
748+ Returns <K >true</K > if the digraph <A >digraph</A > is nonempty, and
749+ <K >false</K > if it is not. A digraph is <E >nonempty</E > if it has at
750+ least one edge.<P />
751+
752+ See also <Ref Prop =" IsEmptyDigraph" />.
753+ <P />
754+
755+ &MUTABLE_RECOMPUTED_PROP;
756+
757+ <Example ><![CDATA[
758+ gap> D := Digraph([[], []]);
759+ <immutable empty digraph with 2 vertices>
760+ gap> IsNonemptyDigraph(D);
761+ false
762+ gap> D := Digraph([[], [1]]);
763+ <immutable digraph with 2 vertices, 1 edge>
764+ gap> IsNonemptyDigraph(D);
765+ true]]> </Example >
766+ </Description >
767+ </ManSection >
768+ <#/GAPDoc>
769+
770+ <#GAPDoc Label="DigraphHasAVertex">
771+ <ManSection >
772+ <Prop Name =" DigraphHasAVertex" Arg =" digraph" />
773+ <Returns ><K >true</K > or <K >false</K >.</Returns >
774+ <Description >
775+ Returns <K >true</K > if the digraph <A >digraph</A > has at least one vertex,
776+ and <K >false</K > if it does not.<P />
777+
778+ See also <Ref Prop =" DigraphHasNoVertices" />.
779+ <P />
780+
781+ &MUTABLE_RECOMPUTED_PROP;
782+
783+ <Example ><![CDATA[
784+ gap> D := Digraph([]);
785+ <immutable empty digraph with 0 vertices>
786+ gap> DigraphHasAVertex(D);
787+ false
788+ gap> D := Digraph([[]]);
789+ <immutable empty digraph with 1 vertex>
790+ gap> DigraphHasAVertex(D);
791+ true
792+ gap> D := Digraph([[], [1]]);
793+ <immutable digraph with 2 vertices, 1 edge>
794+ gap> DigraphHasAVertex(D);
795+ true]]> </Example >
796+ </Description >
797+ </ManSection >
798+ <#/GAPDoc>
799+
800+ <#GAPDoc Label="DigraphHasNoVertices">
801+ <ManSection >
802+ <Prop Name =" DigraphHasNoVertices" Arg =" digraph" />
803+ <Returns ><K >true</K > or <K >false</K >.</Returns >
804+ <Description >
805+ Returns <K >true</K > if the digraph <A >digraph</A > is the unique digraph
806+ with zero vertices, and <K >false</K > otherwise.<P />
807+
808+ See also <Ref Prop =" DigraphHasAVertex" />.
809+ <P />
810+
811+ &MUTABLE_RECOMPUTED_PROP;
812+
813+ <Example ><![CDATA[
814+ gap> D := Digraph([]);
815+ <immutable empty digraph with 0 vertices>
816+ gap> DigraphHasNoVertices(D);
817+ true
818+ gap> D := Digraph([[]]);
819+ <immutable empty digraph with 1 vertex>
820+ gap> DigraphHasNoVertices(D);
821+ false
822+ gap> D := Digraph([[], [1]]);
823+ <immutable digraph with 2 vertices, 1 edge>
824+ gap> DigraphHasNoVertices(D);
825+ false]]> </Example >
826+ </Description >
827+ </ManSection >
828+ <#/GAPDoc>
829+
742830<#GAPDoc Label="IsEulerianDigraph">
743831<ManSection >
744832 <Prop Name =" IsEulerianDigraph" Arg =" digraph" />
0 commit comments