|
23 | 23 | <td id="projectlogo"><img alt="Logo" src="../../logo.png"/></td> |
24 | 24 | <td id="projectalign" style="padding-left: 0.5em;"> |
25 | 25 | <div id="projectname">CXXGraph |
26 | | -  <span id="projectnumber">0.1.5</span> |
| 26 | +  <span id="projectnumber">0.1.6</span> |
27 | 27 | </div> |
28 | | - <div id="projectbrief">CXXGraph is a small library, header only, that manages the Graph and it's algorithm in C++</div> |
| 28 | + <div id="projectbrief">CXXGraph is a header only, that manages the Graphs and it's algorithm in C++</div> |
29 | 29 | </td> |
30 | 30 | </tr> |
31 | 31 | </tbody> |
|
163 | 163 | <tr class="memitem:a662a0e15cd997252639e7a257b830190"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="../../d5/d93/structCXXGRAPH_1_1DialResult__struct.html">DialResult</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/df2/classCXXGRAPH_1_1Graph.html#a662a0e15cd997252639e7a257b830190">dial</a> (const <a class="el" href="../../d3/dd2/classCXXGRAPH_1_1Node.html">Node</a>< T > &source, int maxWeight) const</td></tr> |
164 | 164 | <tr class="memdesc:a662a0e15cd997252639e7a257b830190"><td class="mdescLeft"> </td><td class="mdescRight">This function write the graph in an output file Note: No Thread Safe. <a href="../../d0/df2/classCXXGRAPH_1_1Graph.html#a662a0e15cd997252639e7a257b830190">More...</a><br /></td></tr> |
165 | 165 | <tr class="separator:a662a0e15cd997252639e7a257b830190"><td class="memSeparator" colspan="2"> </td></tr> |
166 | | -<tr class="memitem:a5a1ffeb9ef3b62b38c10bd84b44170a0"><td class="memItemLeft" align="right" valign="top"><a id="a5a1ffeb9ef3b62b38c10bd84b44170a0"></a> |
167 | | -virtual int </td><td class="memItemRight" valign="bottom"><b>writeToFile</b> (<a class="el" href="../../d0/df2/classCXXGRAPH_1_1Graph.html#af40584c5cd15ce35ad36a736b3429c71">InputOutputFormat</a> format=InputOutputFormat::STANDARD_CSV, const std::string &workingDir=".", const std::string &OFileName="graph", bool compress=false, bool writeNodeFeat=false, bool writeEdgeWeight=false) const</td></tr> |
| 166 | +<tr class="memitem:a5a1ffeb9ef3b62b38c10bd84b44170a0"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/df2/classCXXGRAPH_1_1Graph.html#a5a1ffeb9ef3b62b38c10bd84b44170a0">writeToFile</a> (<a class="el" href="../../d0/df2/classCXXGRAPH_1_1Graph.html#af40584c5cd15ce35ad36a736b3429c71">InputOutputFormat</a> format=InputOutputFormat::STANDARD_CSV, const std::string &workingDir=".", const std::string &OFileName="graph", bool compress=false, bool writeNodeFeat=false, bool writeEdgeWeight=false) const</td></tr> |
| 167 | +<tr class="memdesc:a5a1ffeb9ef3b62b38c10bd84b44170a0"><td class="mdescLeft"> </td><td class="mdescRight">This function write the graph in an output file Note: No Thread Safe. <a href="../../d0/df2/classCXXGRAPH_1_1Graph.html#a5a1ffeb9ef3b62b38c10bd84b44170a0">More...</a><br /></td></tr> |
168 | 168 | <tr class="separator:a5a1ffeb9ef3b62b38c10bd84b44170a0"><td class="memSeparator" colspan="2"> </td></tr> |
169 | 169 | <tr class="memitem:abd5baeb88c2b588c14383155fff4ec3e"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/df2/classCXXGRAPH_1_1Graph.html#abd5baeb88c2b588c14383155fff4ec3e">readFromFile</a> (<a class="el" href="../../d0/df2/classCXXGRAPH_1_1Graph.html#af40584c5cd15ce35ad36a736b3429c71">InputOutputFormat</a> format=InputOutputFormat::STANDARD_CSV, const std::string &workingDir=".", const std::string &OFileName="graph", bool compress=false, bool readNodeFeat=false, bool readEdgeWeight=false)</td></tr> |
170 | | -<tr class="memdesc:abd5baeb88c2b588c14383155fff4ec3e"><td class="mdescLeft"> </td><td class="mdescRight">This function write the graph in an output file Note: No Thread Safe. <a href="../../d0/df2/classCXXGRAPH_1_1Graph.html#abd5baeb88c2b588c14383155fff4ec3e">More...</a><br /></td></tr> |
| 170 | +<tr class="memdesc:abd5baeb88c2b588c14383155fff4ec3e"><td class="mdescLeft"> </td><td class="mdescRight">This function read the graph from an input file Note: No Thread Safe. <a href="../../d0/df2/classCXXGRAPH_1_1Graph.html#abd5baeb88c2b588c14383155fff4ec3e">More...</a><br /></td></tr> |
171 | 171 | <tr class="separator:abd5baeb88c2b588c14383155fff4ec3e"><td class="memSeparator" colspan="2"> </td></tr> |
172 | 172 | <tr class="memitem:abb1d335334b510d037729719e8f579b6"><td class="memItemLeft" align="right" valign="top">virtual PartitionMap< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/df2/classCXXGRAPH_1_1Graph.html#abb1d335334b510d037729719e8f579b6">partitionGraph</a> (<a class="el" href="../../d0/df2/classCXXGRAPH_1_1Graph.html#a1549d3208d57a922c72d0885894f1c32">PartitionAlgorithm</a> algorithm, unsigned int numberOfPartitions) const</td></tr> |
173 | 173 | <tr class="memdesc:abb1d335334b510d037729719e8f579b6"><td class="mdescLeft"> </td><td class="mdescRight">This function partition a graph in a set of partitions Note: No Thread Safe. <a href="../../d0/df2/classCXXGRAPH_1_1Graph.html#abb1d335334b510d037729719e8f579b6">More...</a><br /></td></tr> |
@@ -756,7 +756,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#abd5baeb88c2b588c14383155 |
756 | 756 | </table> |
757 | 757 | </div><div class="memdoc"> |
758 | 758 |
|
759 | | -<p>This function write the graph in an output file Note: No Thread Safe. </p> |
| 759 | +<p>This function read the graph from an input file Note: No Thread Safe. </p> |
760 | 760 | <dl class="params"><dt>Parameters</dt><dd> |
761 | 761 | <table class="params"> |
762 | 762 | <tr><td class="paramname">format</td><td>The Input format of the file </td></tr> |
@@ -846,6 +846,82 @@ <h2 class="memtitle"><span class="permalink"><a href="#af2cd256d3638bf15ea926b6d |
846 | 846 |
|
847 | 847 | <p>Reimplemented in <a class="el" href="../../da/da5/classCXXGRAPH_1_1Graph__TS.html#a2fc8067ede63880fd645206ef9a23380">CXXGRAPH::Graph_TS< T ></a>.</p> |
848 | 848 |
|
| 849 | +</div> |
| 850 | +</div> |
| 851 | +<a id="a5a1ffeb9ef3b62b38c10bd84b44170a0"></a> |
| 852 | +<h2 class="memtitle"><span class="permalink"><a href="#a5a1ffeb9ef3b62b38c10bd84b44170a0">◆ </a></span>writeToFile()</h2> |
| 853 | + |
| 854 | +<div class="memitem"> |
| 855 | +<div class="memproto"> |
| 856 | +<div class="memtemplate"> |
| 857 | +template<typename T > </div> |
| 858 | +<table class="mlabels"> |
| 859 | + <tr> |
| 860 | + <td class="mlabels-left"> |
| 861 | + <table class="memname"> |
| 862 | + <tr> |
| 863 | + <td class="memname">int <a class="el" href="../../d0/df2/classCXXGRAPH_1_1Graph.html">CXXGRAPH::Graph</a>< T >::writeToFile </td> |
| 864 | + <td>(</td> |
| 865 | + <td class="paramtype"><a class="el" href="../../d0/df2/classCXXGRAPH_1_1Graph.html#af40584c5cd15ce35ad36a736b3429c71">InputOutputFormat</a> </td> |
| 866 | + <td class="paramname"><em>format</em> = <code>InputOutputFormat::STANDARD_CSV</code>, </td> |
| 867 | + </tr> |
| 868 | + <tr> |
| 869 | + <td class="paramkey"></td> |
| 870 | + <td></td> |
| 871 | + <td class="paramtype">const std::string & </td> |
| 872 | + <td class="paramname"><em>workingDir</em> = <code>"."</code>, </td> |
| 873 | + </tr> |
| 874 | + <tr> |
| 875 | + <td class="paramkey"></td> |
| 876 | + <td></td> |
| 877 | + <td class="paramtype">const std::string & </td> |
| 878 | + <td class="paramname"><em>OFileName</em> = <code>"graph"</code>, </td> |
| 879 | + </tr> |
| 880 | + <tr> |
| 881 | + <td class="paramkey"></td> |
| 882 | + <td></td> |
| 883 | + <td class="paramtype">bool </td> |
| 884 | + <td class="paramname"><em>compress</em> = <code>false</code>, </td> |
| 885 | + </tr> |
| 886 | + <tr> |
| 887 | + <td class="paramkey"></td> |
| 888 | + <td></td> |
| 889 | + <td class="paramtype">bool </td> |
| 890 | + <td class="paramname"><em>writeNodeFeat</em> = <code>false</code>, </td> |
| 891 | + </tr> |
| 892 | + <tr> |
| 893 | + <td class="paramkey"></td> |
| 894 | + <td></td> |
| 895 | + <td class="paramtype">bool </td> |
| 896 | + <td class="paramname"><em>writeEdgeWeight</em> = <code>false</code> </td> |
| 897 | + </tr> |
| 898 | + <tr> |
| 899 | + <td></td> |
| 900 | + <td>)</td> |
| 901 | + <td></td><td> const</td> |
| 902 | + </tr> |
| 903 | + </table> |
| 904 | + </td> |
| 905 | + <td class="mlabels-right"> |
| 906 | +<span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| 907 | + </tr> |
| 908 | +</table> |
| 909 | +</div><div class="memdoc"> |
| 910 | + |
| 911 | +<p>This function write the graph in an output file Note: No Thread Safe. </p> |
| 912 | +<dl class="params"><dt>Parameters</dt><dd> |
| 913 | + <table class="params"> |
| 914 | + <tr><td class="paramname">format</td><td>The Output format of the file </td></tr> |
| 915 | + <tr><td class="paramname">workingDir</td><td>The path to the directory in which is placed the Output file </td></tr> |
| 916 | + <tr><td class="paramname">OFileName</td><td>The Output File Name ( ) </td></tr> |
| 917 | + <tr><td class="paramname">compress</td><td>Indicates if the Output will be compressed ( Pay Attention if compress flag is true, not compressed files will be deleted [ #48 ] ) </td></tr> |
| 918 | + <tr><td class="paramname">writeNodeFeat</td><td>Indicates if export also <a class="el" href="../../d3/dd2/classCXXGRAPH_1_1Node.html">Node</a> Features </td></tr> |
| 919 | + <tr><td class="paramname">writeEdgeWeight</td><td>Indicates if export also <a class="el" href="../../d7/d2a/classCXXGRAPH_1_1Edge.html">Edge</a> Weights </td></tr> |
| 920 | + </table> |
| 921 | + </dd> |
| 922 | +</dl> |
| 923 | +<dl class="section return"><dt>Returns</dt><dd>0 if all OK, else return a negative value </dd></dl> |
| 924 | + |
849 | 925 | </div> |
850 | 926 | </div> |
851 | 927 | <hr/>The documentation for this class was generated from the following file:<ul> |
|
0 commit comments