//If changedTF is set to true, then we have changed of TF, we need to make available all the Comp in TF-1 here in TF, in addition to the new that'll be discovered in TF
for(inti=1;i<compDistribyTF.size();i++)//starts to 1 because 0 does not have decay
for(unsignedinti=1;i<compDistribyTF.size();i++)//starts to 1 because 0 does not have decay
{
for(intj=0;j<compDistribyTF.at(0).size();j++)//cDTF[0] because we do not care which, they all have the same size == this->_pb.competencyCatalogue().size()
for(unsignedintj=0;j<compDistribyTF.at(0).size();j++)//cDTF[0] because we do not care which, they all have the same size == this->_pb.competencyCatalogue().size()
for(inti=1;i<compDistribyTF.size();i++)//starts to 1 because 0 does not have decay
for(unsignedinti=1;i<compDistribyTF.size();i++)//starts to 1 because 0 does not have decay
{
for(intj=0;j<compDistribyTF.at(0).size();j++)//cDTF[0] because we do not care which, they all have the same size == this->_pb.competencyCatalogue().size()
for(unsignedintj=0;j<compDistribyTF.at(0).size();j++)//cDTF[0] because we do not care which, they all have the same size == this->_pb.competencyCatalogue().size()
{
decayVal=0;delta=0;decayed=0;
...
...
@@ -503,7 +504,8 @@ std::pair<bool, double> res;
if(decayClock.at(j)>0)//if there is decay
{
//we take the diff between decay(j) and decay(j-1) since for each stagnation we instantly repercut the decay