Created
October 27, 2017 17:25
-
-
Save backnotprop/56f5cd0217c006402287a7cb87a7ab87 to your computer and use it in GitHub Desktop.
This file contains hidden or 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