Hi
I'm trying to read a file in GraphML format using the C ++ programming language
in Windows Vista. When the code is executed igraph_read_graph_graphml << (&
net, file, 0); >>> it returned the following error message:
"Error at foreign-graphml.c: 1211: GraphML support is disabled, Unimplemented
function call"
Below is the code, which uses the read function:
void TNetData :: PropagationLabels (string filename, int repetitions) { *
ToLabel toLabel [repetitions]; TSSLAlgorithm * Alg [repetitions];
FILE * file; float accuracy, accuracy_average = 0.0; int i;
string name;
name = filename + "xml.";
file = fopen (name.c_str (), "r");
igraph_read_graph_graphml (& net, file, 0);
for (i = 0; i <repetitions; i ++) { toLabel [i]
-> RandomSelectionP (& net, 00:10); Alg [i] -> DGL (& net,
accuracy);
accuracy_average accuracy_average = + accuracy; }
fclose (file);
printf ("Average Accuracy:% .3f" accuracy_average / (float) repetitions);
}
Thank you!
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help