reference: "Probabilistic analogical mapping with semantic relation networks" by Hongjing Lu, Nicholas Ichien, and Keith J. Holyoak 'mainrun.m' is a script that runs each of the 5 simulations featured in the article: simulation 1: triplet tests simulation 2: Turney dataset simulation 3: Pragmatic influences on mapping in Spellman & Holyoak (1992) simulation 4: Relational shift effect in Gentner & Rattermann (1991) simulation 5: Mapping stories, General-doctor analogy in Gick & Holyoak (1980) 'TestMapping_TripR3_PAM.m' is a function that implements simulation 1 'TestMapping_Turney_PAM.m' is a function that implements simulation 2 'TestMapping_SHsim_PAM.m' is a function that implements simulation 3 'TestMapping_GTsim_PAM.m' is a function that implements simulation 4 'TestMapping_Generalsim_PAM.m' is a function that implements simulation 5 'compute_score.m', 'converse_func.m', 'log_prediction.m', and 'logdet.m' are helper functions necessary for generating BART representations 'data' and 'rst' are directories that contain data structures necessary for running these simulations 'rst' also contains result files generated by each simulation