Computer science presentation

From enfascination

Jump to: navigation, search
 
Line 1: Line 1:
 +
===Project===
 +
http://worldwideweb.unconventionallylonguniformresourcelocator.com/Research Talk
 +
 
===UML Diagrams===
 
===UML Diagrams===
 
http://www.gliffy.com/pubdoc/1652891/L.jpg
 
http://www.gliffy.com/pubdoc/1652891/L.jpg
Line 7: Line 10:
 
*In this case, I implemented adapter accidentally, except that I didn't subclass MultiLeggedAgent, and neither MLA nor CTRNN were interfaces.
 
*In this case, I implemented adapter accidentally, except that I didn't subclass MultiLeggedAgent, and neither MLA nor CTRNN were interfaces.
  
===Mediator Pattern===
+
===Mediator Pattern [http://en.wikipedia.org/wiki/Mediator_pattern]===
 
*One class that all classes interact through in order to communicate with each other, like how the stock exchange acts  as an abstracted interface for buyers and sellers.
 
*One class that all classes interact through in order to communicate with each other, like how the stock exchange acts  as an abstracted interface for buyers and sellers.
 
*My work is not quite mediator, because CTRNN doesn't depend on it at all.  On the contrary, Neural Architecture aggregates CTRNN instead.
 
*My work is not quite mediator, because CTRNN doesn't depend on it at all.  On the contrary, Neural Architecture aggregates CTRNN instead.

Revision as of 03:14, 1 April 2009

Contents

Project

http://worldwideweb.unconventionallylonguniformresourcelocator.com/Research Talk

UML Diagrams

http://www.gliffy.com/pubdoc/1652891/L.jpg

Adapter Pattern [1]

  • Converts between two interfaces that can't change so they can communicate.
    • Does so by extending/implementing one incompatible class
  • In this case, I implemented adapter accidentally, except that I didn't subclass MultiLeggedAgent, and neither MLA nor CTRNN were interfaces.

Mediator Pattern [2]

  • One class that all classes interact through in order to communicate with each other, like how the stock exchange acts as an abstracted interface for buyers and sellers.
  • My work is not quite mediator, because CTRNN doesn't depend on it at all. On the contrary, Neural Architecture aggregates CTRNN instead.