Package edu.tufts.hrilab.interfaces
Interface LearningInterface
- All Known Subinterfaces:
FetchInterface
,FetchItInterface
,MoveItInterface
,PR2Interface
- All Known Implementing Classes:
FetchComponent
,FetchItComponent
,MockFetchComponent
,MockFetchItComponent
,MockMoveItComponent
,MockPR2Component
,MoveItComponent
,PR2Component
public interface LearningInterface
LearningComponent is the base set of methods for learning/unlearning concepts.
-
Method Summary
Modifier and TypeMethodDescriptionUse the passed in term to learn a new descriptor.Un-learns things that have been learned by the learn method.
-
Method Details
-
learn
Use the passed in term to learn a new descriptor. The term must have two arguments, the first arg 'describing' the new thing-to-learn, and the second arg 'naming' the new thing-to-learn. The description must be composed entirely of things vision already knows about.- Parameters:
learningTerm
- term specifying the thing to learn (e.g., instanceOf(X,Y))- Returns:
- if thing-to-learn was successfully learned
-
unlearn
Un-learns things that have been learned by the learn method.- Parameters:
learningTerm
-- Returns:
-