Skip to content

Commit 3a6cd55

Browse files
committed
Include Yago's code for instances generation. Generated 1 instance of Christmas Tree and 1 of pushOnly
1 parent 54e8944 commit 3a6cd55

File tree

8 files changed

+2135
-5
lines changed

8 files changed

+2135
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ get_property(inc_dirs DIRECTORY PROPERTY INCLUDE_DIRECTORIES)
2626
message("inc_dirs = ${inc_dirs}")
2727

2828
# Executable
29-
add_executable(smartstack ${SOURCES} sources/createTestInput.cpp sources/createTestInput.h)
29+
add_executable(smartstack ${SOURCES})

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# CompressedStacks.cpp
1+
# CompressedStacks.cpp

build/smartstack

5.13 KB
Binary file not shown.

include/createTestInput.hpp

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
//
2+
// Created by yago on 16/06/29.
3+
//
4+
5+
#include <iostream>
6+
#include <fstream>
7+
#include <sstream>
8+
#include <string>
9+
10+
11+
12+
#ifndef SMARTSTACK_CREATETESTINPUT_H
13+
#define SMARTSTACK_CREATETESTINPUT_H
14+
15+
16+
class createTestInput {
17+
18+
19+
public:
20+
createTestInput() { }
21+
22+
void createTestInputFiles(int code, std::string fileName,int n,int p, int min=0, int max=100, double prob=0);
23+
24+
};
25+
26+
27+
#endif //SMARTSTACK_CREATETESTINPUT_H

0 commit comments

Comments
 (0)