Changeset 143:c3b45bb643b0 in lemon for demo
- Timestamp:
- 04/22/08 18:12:40 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
demo/lgf_demo.cc
r127 r143 38 38 int main(int argc, const char *argv[]) { 39 39 const int n = argc > 1 ? std::atoi(argv[1]) : 20; 40 const int e = argc > 2 ? std::atoi(argv[2]) : static_cast<int>(n * log(n));40 const int e = argc > 2 ? std::atoi(argv[2]) : static_cast<int>(n * std::log(double(n))); 41 41 const int m = argc > 3 ? std::atoi(argv[3]) : 100; 42 42
Note: See TracChangeset
for help on using the changeset viewer.