backwadforwad Contents

Class #05: °´Ã¼ÁöÇâÀû µ¥ÀÌŸ ¸ðµ¨¸µ
in place March 31, 2002, lasted modified March 31, 2002, working


Object-Oriented Concept °´Ã¼ÁöÇâÀû °³³ä

°´Ã¼ (Object)

¼Ó¼º (Attributes)

°´Ã¼ ID (Object Identifier)

Ŭ·¡½º (Class)

Ŭ·¡½º »ó¼Ó°èÃþ (Class Inheritance Hierarchy)

Ŭ·¡½º°£ÀÇ °ü°è(Relationship)¸¦ °èÃþ(Hierarchy)¶ó ĪÇϸç Ŭ·¡½º °èÃþ¿¡´Â »ó¼Ó°èÃþ (Class Inheritance Hierarchy) ¿Í ±¸¼º°èÃþ (Class Composition Hierarchy)·Î µÇ¾î ÀÖ´Ù.


±×¸² 5-1 Ŭ·¡½º »ó¼Ó °èÃþ ¿¹

Ŭ·¡½º ±¸¼º°èÃþ (Class Composition Hierarchy)

¸Þ½îµå (Method)

Á¤º¸ ÀºÀÍ Encapsulation

Polymorphism

°´Ã¼ÁöÇâÀû Á¦Ç° ¸ðµ¨¸µ Object-Oriented Product Modeling

Part Modeling


±×¸² 5-3 Product Modeling

Asembly and Atomic Parts

Method Design


±×¸² 5-4 ¸Þ½îµå ¼³°è

	is_weight_less_than(X, ASS_ID)

weight X;
object_id ASS_ID;

IF X < calc_assy_weight( ASS_ID.component )
        RETURN true;
ELSE
        RETURN false;


calc_assy_weight(component)

set_part_obj  component;

part_object obj;
RETURN   ¥Òcal_weight( obj )
         when obj ¡ô component;
 

calc_weight(obj)
part_obj obj;

RETURN calc_volumn(obj.elements) * obj.material_type.density;


	

Constraint Checking

backwadforward Contents


Knowledge & Engineering Databases (c) copyright Namchul Do, 2002