int main( | int | | argv, | | char | ** | argc | ) |
|
The main function for the Sampled Spectral Distance Embedding program.
Parameters
- first parameter is the name of the executable
- second parameter is the name of the graph
- third parameter is the mode of execution (assign random coordinates or run)
- fourth parameter is the SAMPLING method (whether random or clever)
- fifth parameter signals to print or not print the C matrix and the inverse of the Phi matrix (0 - do not print, 1 - print). When this parameter is set to 1, the program will produce C.txt and InvPhi.txt.
- [optional] sixth parameter is DIMS (the # of dimensions to embed the graph into)
- [optional] seventh parameter is PI_TOL (power iteration tolerance)
- [optional] eighth parameter is SVD_TOL (tolerance used in SVD procedure)
- [optional] nineth parameter is SAMPLE_SIZE
- [optional] tenth parameter is REG_PARAM (power of the first singular value used in regularization of PHI inverse)