This project is read-only.

Data Structure for Utility Scoring user preferences

Every entry has all the utility scoring information and can contain an array of entries (entries[]).
If the array exists, this entry is a group, if not then the entry is a leaf.

entry = {
    name: "",
    weight: "",
    Max: 100,
    Min: 0,
    Target: 50,
    Slope: 50,
    Func: "UtlityFunction1",
    entries: [
        {
            name: "b",
            weight: .5,
        },
        {
            name: "c",
            weight: ".3",
            entries: [{
                name: "",
                weight: ""
            }]
        }
    ]
}

Last edited Sep 13, 2012 at 12:42 AM by brantpeery, version 4