#############################################################################
##
#W  io.gd
#Y  Copyright (C) 2014                                   James D. Mitchell
##
##  Licensing information can be found in the README file of this package.
##
#############################################################################
##

DeclareGlobalFunction("ReadDigraphs");
DeclareGlobalFunction("ReadPlainTextDigraph");

DeclareOperation("DigraphFromGraph6String", [IsString]);
DeclareOperation("DigraphFromDigraph6String", [IsString]);
DeclareOperation("DigraphFromSparse6String", [IsString]);
DeclareOperation("DigraphFromDiSparse6String", [IsString]);
DeclareOperation("DigraphFromPlainTextString", [IsString]);
DeclareOperation("ReadDIMACSDigraph", [IsString]);
DeclareOperation("WriteDIMACSDigraph", [IsString, IsDigraph]);

DeclareGlobalFunction("DigraphPlainTextLineDecoder");
DeclareGlobalFunction("TournamentLineDecoder");
DeclareGlobalFunction("AdjacencyMatrixUpperTriangleLineDecoder");
DeclareGlobalFunction("TCodeDecoder");
DeclareGlobalFunction("TCodeDecoderNC");

DeclareGlobalFunction("WriteDigraphs");
DeclareOperation("Graph6String", [IsDigraph]);
DeclareOperation("Digraph6String", [IsDigraph]);
DeclareOperation("Sparse6String", [IsDigraph]);
DeclareOperation("DiSparse6String", [IsDigraph]);
DeclareOperation("PlainTextString", [IsDigraph]);
DeclareGlobalFunction("WritePlainTextDigraph");

DeclareGlobalFunction("DigraphPlainTextLineEncoder");
DeclareGlobalFunction("DigraphFile");
DeclareGlobalFunction("IteratorFromDigraphFile");
