_staticCost = _estimate.getClassCount() * (direct ? _estimate.getCost(KBOperation.GET_DIRECT_INSTANCES) : _estimate.getCost(KBOperation.GET_INSTANCES)); _branchCount = _estimate.getClassCount() * _estimate.avgInstancesPerClass(direct); _staticCost = direct ? _estimate.getCost(KBOperation.GET_DIRECT_SUB_OR_SUPERCLASSES) : _estimate.getCost(KBOperation.GET_SUB_OR_SUPERCLASSES); _staticCost *= _estimate.getClassCount(); _branchCount = _estimate.getClassCount() * _estimate.avgSubClasses(direct); _staticCost = _estimate.getClassCount() * _estimate.getCost(KBOperation.GET_EQUIVALENT_CLASSES); _branchCount = _estimate.getClassCount() * _estimate.avgEquivClasses(); _staticCost = _estimate.getClassCount() * _estimate.getCost(KBOperation.GET_DISJOINT_CLASSES); _branchCount = _estimate.getClassCount() * _estimate.avgDisjointClasses(); _staticCost = _estimate.getClassCount() * _estimate.getCost(KBOperation.GET_COMPLEMENT_CLASSES); _branchCount = _estimate.getClassCount() * _estimate.avgComplementClasses();
_staticCost = _estimate.getClassCount() * (direct ? _estimate.getCost(KBOperation.GET_DIRECT_INSTANCES) : _estimate.getCost(KBOperation.GET_INSTANCES)); _branchCount = _estimate.getClassCount() * _estimate.avgInstancesPerClass(direct); _staticCost = direct ? _estimate.getCost(KBOperation.GET_DIRECT_SUB_OR_SUPERCLASSES) : _estimate.getCost(KBOperation.GET_SUB_OR_SUPERCLASSES); _staticCost *= _estimate.getClassCount(); _branchCount = _estimate.getClassCount() * _estimate.avgSubClasses(direct); _staticCost = _estimate.getClassCount() * _estimate.getCost(KBOperation.GET_EQUIVALENT_CLASSES); _branchCount = _estimate.getClassCount() * _estimate.avgEquivClasses(); _staticCost = _estimate.getClassCount() * _estimate.getCost(KBOperation.GET_DISJOINT_CLASSES); _branchCount = _estimate.getClassCount() * _estimate.avgDisjointClasses(); _staticCost = _estimate.getClassCount() * _estimate.getCost(KBOperation.GET_COMPLEMENT_CLASSES); _branchCount = _estimate.getClassCount() * _estimate.avgComplementClasses();
_staticCost = _estimate.getClassCount() * (direct ? _estimate.getCost(KBOperation.GET_DIRECT_INSTANCES) : _estimate.getCost(KBOperation.GET_INSTANCES)); _branchCount = _estimate.getClassCount() * _estimate.avgInstancesPerClass(direct); _staticCost = direct ? _estimate.getCost(KBOperation.GET_DIRECT_SUB_OR_SUPERCLASSES) : _estimate.getCost(KBOperation.GET_SUB_OR_SUPERCLASSES); _staticCost *= _estimate.getClassCount(); _branchCount = _estimate.getClassCount() * _estimate.avgSubClasses(direct); _staticCost = _estimate.getClassCount() * _estimate.getCost(KBOperation.GET_EQUIVALENT_CLASSES); _branchCount = _estimate.getClassCount() * _estimate.avgEquivClasses(); _staticCost = _estimate.getClassCount() * _estimate.getCost(KBOperation.GET_DISJOINT_CLASSES); _branchCount = _estimate.getClassCount() * _estimate.avgDisjointClasses(); _staticCost = _estimate.getClassCount() * _estimate.getCost(KBOperation.GET_COMPLEMENT_CLASSES); _branchCount = _estimate.getClassCount() * _estimate.avgComplementClasses();