-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
40 lines (33 loc) · 818 Bytes
/
main.cpp
File metadata and controls
40 lines (33 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//
// main.cpp
// ListMiner
//
// Created by Chenhao Liu on 11/1/12.
// Copyright (c) 2012 Chenhao Liu. All rights reserved.
//
//#include <iostream>
//#include <boost/numeric/ublas/matrix.hpp>
//#include <boost/numeric/ublas/io.hpp>
//#include <sparsehash/sparse_hash_map>
//#include <google/dense_hash_map>
#include "ListMiner.h"
/*
#include "Graph.h"
#include "ListNode.h"
#include "GraphParser.h"
#include "Header.h"
*/
int main(int argc, const char * argv[])
{
// insert code here...
//cout<<"Please specify data file:\n"<<endl;
ListMiner* lm=new ListMiner();
bool run=true;
if (run==true) {
lm->miner("/Users/Bruce/Desktop/input.txt", 3, 10, 600);
} else {
lm->miner("/Users/Bruce/Desktop/test.txt", 4, 100, 0);
}
getchar();
return 0;
}