検索結果- 英語 - 英語
検索内容:
private language problems
art gallery problems
Chinese postman problems
Chinese postman problem
関連語
wheat and chessboard problem
candy store problem
関連語
Sleeping Beauty problems
circle-ellipse problem
名詞
(object-oriented
programming)
The
problematic
situation
where
a
base
class
contains
methods
which
mutate
an
object
in
a
manner
which
may
invalidate
a
(stronger)
invariant
found
in
a
derived
class,
violating
the
Liskov
substitution
principle.
For
example,
if
a
circle
is
modelled
as
a
subtype
of
an
ellipse,
and
the
ellipse
has
a
method
that
stretches
it
on
one
axis,
the
circle
must
also
implement
that
method
despite
it
making
no
sense
for
a
circle.
日本語の意味
オブジェクト指向プログラミングにおいて、基底クラスに定義されたメソッドが、派生クラスで保持される強固な不変条件を破ってしまう可能性がある設計上の問題。例えば、楕円のサブタイプとして円をモデル化した際に、楕円に備わった変形メソッドを円にも実装させる必要が生じ、円としての特性に矛盾が生じるケースを示す。
two children problem
固有名詞
日本語の意味
子供の性別に関する直感に反する確率論のパラドックス、すなわち『男か女かパラドックス』の別名として用いられる問題。 / 家庭における2人の子供の性別にまつわる、予想外の確率結果を示すパラドックス。
関連語
loading!
Loading...