Skip to content
LTH ETSF01 project
Java JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.settings
files
lib
runnables
src
tools
.classpath
.gitignore
.project
README.md
databajs.txt
parse.js
result.html
us.stackdump

README.md

Project for ETSF01


FOLDERS


files: database files, input files and output files lib: JSON jar file tools: simple shell script for exporting the project to a jar-file


PACKAGES


model: JSONDatabase: Reads input from 'files/databaseIN.txt' and adds it to a JSONObject

controller: EffortEstimation: This is where the similarity function and time estimation is done.

view: GUI: For now only creates a 4x4 view with correct labels and textfields.

conversion: Converter: Converts between units person-, -hours, -days, -months, -years

tests: Package with all tests.


EXAMPLE USE OF JSON


// Retrieves the entire project list
JSONObject json = JSONDatabase.getInstance();
// Retrieve a single project
JSONObject singleProjectJson = json.get(int index); 
// Get the value correspnding for the specified column 
singleProjectJson.get("column name");
Something went wrong with that request. Please try again.