private void addResultToTable(String name, double time, double memory, int max_value,int numberOfPoints, String type){
        modelResultTable.addRow(new Object[]{name, time, memory, max_value, numberOfPoints, type});
    }