for (int i = 0; i < gVec.size(); i++)
groups.add(((ResourceClassModel) gVec.get(i)).getName());
Iterator<TransitionModel> iter = getTransModels().iterator();
resAlloc = new ResourceAllocation(roles, groups, iter, pmp);
resObjNum = resAlloc.getResources().size();
}