Created
October 27, 2017 17:25
-
-
Save backnotprop/c30e2d6ab720028f09257fefe4931217 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var StableMatching = (function (data) { | |
let _DB = data; | |
// this is stage 1 | |
function _proposalStage(refresh){ | |
... | |
} | |
return { | |
init: function(db) { | |
_DB = db; | |
}, | |
doStageOne: function() { | |
... | |
}, | |
testStageOne: function() { | |
... | |
} | |
}; | |
})(); | |
let personPreferredLists = parseDb(dummyDb); | |
StableMatching.init(personPreferredLists); | |
StableMatching.doStageOne(); | |
StableMatching.testStageOne(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment