ログイン 新規登録
言語:

WEKO3

  • トップ
  • ランキング
To
lat lon distance
To

Field does not validate



インデックスリンク

インデックスツリー

メールアドレスを入力してください。

WEKO

One fine body…

WEKO

One fine body…

アイテム

  1. 論文誌(トランザクション)
  2. プログラミング(PRO)
  3. Vol.9
  4. No.4

C#のためのコンテキスト指向プログラミングとStrategyパターンの比較

https://ipsj.ixsq.nii.ac.jp/records/174605
https://ipsj.ixsq.nii.ac.jp/records/174605
7e8987ff-80c2-4641-9fdc-7d50b1ffeb39
名前 / ファイル ライセンス アクション
IPSJ-TPRO0904011.pdf IPSJ-TPRO0904011.pdf (102.3 kB)
Copyright (c) 2016 by the Information Processing Society of Japan
オープンアクセス
Item type Trans(1)
公開日 2016-09-12
タイトル
タイトル C#のためのコンテキスト指向プログラミングとStrategyパターンの比較
タイトル
言語 en
タイトル A Comparison between a Context-oriented Programming C# Framework and the Strategy Pattern
言語
言語 jpn
キーワード
主題Scheme Other
主題 [発表概要]
資源タイプ
資源タイプ識別子 http://purl.org/coar/resource_type/c_6501
資源タイプ journal article
著者所属
東海大学大学院情報通信学研究科
著者所属
東海大学大学院情報通信学研究科
著者所属(英)
en
Tokai University School of Information and Telecommunication Engineering
著者所属(英)
en
Tokai University School of Information and Telecommunication Engineering
著者名 上條, 弘貴

× 上條, 弘貴

上條, 弘貴

Search repository
渡辺, 晴美

× 渡辺, 晴美

渡辺, 晴美

Search repository
著者名(英) Hiroki, Kamijo

× Hiroki, Kamijo

en Hiroki, Kamijo

Search repository
Harumi, Watanabe

× Harumi, Watanabe

en Harumi, Watanabe

Search repository
論文抄録
内容記述タイプ Other
内容記述 本発表では,C#に基づいたコンテキスト指向プログラムとStrategyパターンとの比較を行う.コンテキスト指向プログラミング(Context-Oriented Programming: COP)は,コンテキストに依存した振る舞いをモジュール化し,実行時にコンテキストに応じて動的にそれらのモジュールを変更するためのプログラミング技術である.Strategyパターンはオブジェクト指向プログラミング言語のデザインパターンの1つである.Strategyパターンではアルゴリズムの集合を定義し,各アルゴリズムをカプセル化することで実行時にそれらのアルゴリズムをコンテキストに応じて動的に交換可能とする.これらの手法はいずれもプログラム実行時のイベントに応じてモジュールの切り替えを可能とする点で類似している.以上をふまえて同一要求のシステムをCOPとStrategyパターンで開発し比較を行う.評価内容として,記述量および,コンテキスト依存の振る舞い記述の差異をあげ,それらの原因について分析,比較検討を行い評価する.本評価のために,実行時にコンテキストに応じて振る舞いが切り替わるロボットシステムを開発する.ロボットのコンテキストとして屋内外やゴミの種類を想定している.実現に際し,これらのコンテキストを見立てた環境を構築する.ロボットが室内にいるときは吸引機で吸引動作を行い,室外にいるときはブラシを使い掃き動作を行うものとする.上述した屋内外のシステム切り替え等により,コンテキスト切り替え部分に関して比較検討を行う.
論文抄録(英)
内容記述タイプ Other
内容記述 The presentation introduces a comparison between our Context-Oriented Programming C# framework (COP C#) and the Strategy pattern. Context-Oriented Programming (COP) treats context-dependent behavior that is modularized as layers and to change them at runtime. On the other hand, the Strategy pattern deals with the algorithm modules for encapsulating for context-dependent behavior. In spite of different type of those modules, both techniques handle the context-dependent behavior. To make clear the difference between the COP C# and the Strategy pattern, we develop two cleaner robot systems based on their two ways. The behavior of those robots reflects in the contexts that depends on the places and the garbage sorts. Our robot provides a service that uses the vacuum cleaner part in rooms. If the robot moves to the outside of the room, it changes the service that makes operate the brush part. Those mechanisms give us the advantages of the COP C# and the Strategy pattern.
書誌レコードID
収録物識別子タイプ NCID
収録物識別子 AA11464814
書誌情報 情報処理学会論文誌プログラミング(PRO)

巻 9, 号 4, p. 31-31, 発行日 2016-09-12
ISSN
収録物識別子タイプ ISSN
収録物識別子 1882-7802
出版者
言語 ja
出版者 情報処理学会
戻る
0
views
See details
Views

Versions

Ver.1 2025-01-20 06:38:04.340576
Show All versions

Share

Mendeley Twitter Facebook Print Addthis

Cite as

エクスポート

OAI-PMH
  • OAI-PMH JPCOAR
  • OAI-PMH DublinCore
  • OAI-PMH DDI
Other Formats
  • JSON
  • BIBTEX

Confirm


Powered by WEKO3


Powered by WEKO3