From e360b3c0cef2dbe0a38ab88711c848111275ef1f Mon Sep 17 00:00:00 2001
From: hadi <modarres.zadeh@gmail.com>
Date: Thu, 3 Oct 2019 10:44:29 +1000
Subject: [PATCH] Instruction Set file

---
 fuzzer/InstructionSet.java | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 fuzzer/InstructionSet.java

diff --git a/fuzzer/InstructionSet.java b/fuzzer/InstructionSet.java
new file mode 100644
index 0000000..461056f
--- /dev/null
+++ b/fuzzer/InstructionSet.java
@@ -0,0 +1,36 @@
+import java.util.ArrayList;
+
+public class InstructionSet{
+    private int maxInstructions;
+    private ArrayList<Instruction> instructions;
+    public InstructionSet(int maxInstructions) {
+       this.maxInstructions = maxInstructions;
+       this.instructions = new ArrayList<Instruction>();
+    }
+
+    public void addInstruction(Instruction instruction){
+
+    }
+
+    public ArrayList<Instruction> getInstructions() {
+        return this.instructions;
+    }
+
+    @Override public String toString(){
+      // convert all instructions to strings and append them with new line "\n" and return it
+      return "";
+    }
+
+    public void swapRows(int sourceIndex, int targetIndex){
+      // fill if needed
+    }
+
+    /**
+     * moves the row specified by sourceIndex at the location in instruction set specified by percentile
+     * @param sourceIndex
+     * @param percentile
+     */
+    public void moveRowAtIndexToPercentile(int sourceIndex,int percentile){
+       // fill if needed
+    }
+}
\ No newline at end of file
-- 
GitLab