8. exemplar
example
good example
simulation
role model poser
fashion model
model variety
manakin
sort
mannikin
manikin form
mannequin
theoretical account kind
modeling framework
modelling
9. a model is a simplification of the subject,
and its purpose is to answer some particular
questions aimed towards the subject.
in, Ger be 2001
Beziv
26. analysis |əˈnaləsis|
noun (pl. -ses |-ˌsēz|)
Detailed examination of the elements or structure of
something, typically as a basis for discussion or
interpretation.
The process of separating something into its constituent
elements. Often contrasted with synthesis.
y
D ictionar
Oxford
27. synthesis |ˈsinθəsis|
noun ( pl. -ses |-ˌsēz|)
Combination or composition. Often contrasted with
analysis.
y
D ictionar
Oxford
30. tightClassCohesion (classSource)
count = 0
methodCount = methodBodies(classSource)
attributes = attributes(classSource)
methodsToAttributes = new Dictionary
for (methodBody in methodBodies(classSource))
accessedAttributes = new Set
for (statement in methodBody)
accessedAttributes.add(attributesIn(statement))
end
methodsToAttributes.put(methodBody, accessedAttributes)
end
for (methodToAttributes in methodsToAttributes)
for (attribute in methodToAttributes.value)
for (methodToAttributes2 in methodsToAttributes)
if (methodToAttributes.value.contains(attribute) &
methodToAttributes ~= methodToAttributes2)
count++
end
end
end
end
return count / methodCount * (methodCount - 1) / 2
end
31. tightClassCohesion (classSource)
count = 0
methodCount = methodBodies(classSource)
attributes = attributes(classSource)
methodsToAttributes = new Dictionary
for (methodBody in methodBodies(classSource))
accessedAttributes = new Set
for (statement in methodBody)
accessedAttributes.add(attributesIn(statement))
end
methodsToAttributes.put(methodBody, accessedAttributes)
end
for (methodToAttributes in methodsToAttributes)
for (attribute in methodToAttributes.value)
for (methodToAttributes2 in methodsToAttributes)
if (methodToAttributes.value.contains(attribute) &
methodToAttributes ~= methodToAttributes2)
count++
end
end
end
end
return count / methodCount * (methodCount - 1) / 2
end
32. Class::tightClassCohesion ()
count = 0
methodCount = this.methods.size()
for (attribute in this.attributes)
temp = attribute.accessingMethods()
count = count + temp * (temp - 1) / 2
end
return count / methodCount * (methodCount - 1) / 2
end
33. Class::tightClassCohesion ()
count = 0
methodCount = this.methods.size()
for (attribute in this.attributes)
temp = attribute.accessingMethods()
count = count + temp * (temp - 1) / 2
end
return count / methodCount * (methodCount - 1) / 2
end
Class
belongsTo belongsTo
* *
Method Attribute
34. Class::tightClassCohesion ()
count = 0
methodCount = this.methods.size()
for (attribute in this.attributes)
temp = attribute.accessingMethods()
count = count + temp * (temp - 1) / 2
end
return count / methodCount * (methodCount - 1) / 2
end
Class
belongsTo belongsTo
*
?
*
Method Attribute
78. le;
re ctang ds;
new Shape Of Metho
view : #n umber ibute
s; de
he ight rOf Attr ne sOfCo
numbe e rOfLi s;
wid th: # r: #numb : c lasse
il lColo w ithin
li nearF
er.
wit hBord s.
c lasse s.
no des: uperclas
view ro m: #s
e dgesF
view ut.
re eLayo
v iew t