Added DEAF_COMMUNITY_MODEL script support:
In script, add a string like: deaf_community_model = 1 or deaf_c_m = 1 Now only two models are supported: 0 - no preference for deaf to see extra agents 1 (default) - deaf agents see all the agents to make a pair with
This commit is contained in:
@@ -718,6 +718,11 @@ void Processor::initSettings(std::string fileName){
|
|||||||
boost::trim(file);
|
boost::trim(file);
|
||||||
Settings::OUTPUT_FILE = file;
|
Settings::OUTPUT_FILE = file;
|
||||||
}
|
}
|
||||||
|
else if(instr == "deaf_community_model" || instr == "deaf_c_m"){
|
||||||
|
int model = Settings::DEAF_COMMUNITY_MODEL;
|
||||||
|
sscanf_s(tokensVector.at(1).c_str(),"%d", &model);
|
||||||
|
Settings::DEAF_COMMUNITY_MODEL = model;
|
||||||
|
}
|
||||||
/*if(instr == "fullstat"){
|
/*if(instr == "fullstat"){
|
||||||
int flag = 0;
|
int flag = 0;
|
||||||
sscanf_s(tokensVector.at(1).c_str(),"%d", &flag);
|
sscanf_s(tokensVector.at(1).c_str(),"%d", &flag);
|
||||||
|
|||||||
Reference in New Issue
Block a user