COMBINATORIAL_BLAS 1.6
 
Loading...
Searching...
No Matches
MCLConvert.cpp File Reference
#include <iostream>
#include <fstream>
#include <vector>
#include <numeric>
#include <algorithm>
#include <string.h>
#include <assert.h>
Include dependency graph for MCLConvert.cpp:

Go to the source code of this file.

Functions

template<typename T >
vector< size_t > sortIndices (const vector< T > &v)
 
vector< int64_tMCLOrder (string fname)
 
void convert (string ifname, string ofname, string sort="revsize")
 
int main (int argc, char *argv[])
 

Function Documentation

◆ convert()

void convert ( string  ifname,
string  ofname,
string  sort = "revsize" 
)

Definition at line 65 of file MCLConvert.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 136 of file MCLConvert.cpp.

◆ MCLOrder()

vector< int64_t > MCLOrder ( string  fname)

Definition at line 26 of file MCLConvert.cpp.

◆ sortIndices()

template<typename T >
vector< size_t > sortIndices ( const vector< T > &  v)

Definition at line 11 of file MCLConvert.cpp.