|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--uci.argo.kernel.Designer
This class models the designer who is building a complex design in some application domain and needs continuous feedback to aid in the making of good design decisions.
| Field Summary | |
protected long |
_critiqueDuration
|
protected long |
_lastCritique
|
static int |
_longestAdd
|
static int |
_longestHot
|
static boolean |
_userWorking
|
static Designer |
TheDesigner
|
static Vector |
UNSPEC_DECISION_VECTOR
|
static Vector |
UNSPEC_GOAL_VECTOR
|
| Constructor Summary | |
Designer()
|
|
| Method Summary | |
void |
addToDoItems(ToDoList list)
Add all the items in the given list to my list. |
boolean |
canFixIt(ToDoItem item)
|
boolean |
containsKnowledgeType(String type)
|
void |
critique(Design des)
Look for potential problems or open issues in the given design. |
void |
critiqueASAP(Object dm,
String reason)
|
void |
defineDecision(String decision,
int priority)
|
void |
determineActiveCritics()
Ask this designer's agency to select which critics should be active. |
void |
disruptivelyWarn(ToDoItem item)
Inform the human designer that there is an urgent ToDoItem that (s)he must consider before doing any more work. |
int |
disruptiveThreshold()
Used to determine which ToDoItems are urgent. |
String |
expand(String desc,
VectorSet offs)
|
void |
fixIt(ToDoItem item,
Object arg)
|
Agency |
getAgency()
Reply the Agency object that is helping this Designer. |
boolean |
getAutoCritique()
autoCritique and critiquingInterval are two prameters that control how the critiquing thread operates. |
ChildGenerator |
getChildGenerator()
|
Icon |
getClarifier()
|
int |
getCritiquingInterval()
|
static Object |
getCritiquingRoot()
|
DecisionModel |
getDecisionModel()
|
Vector |
getDecisions()
|
String |
getExpertEmail()
|
GoalModel |
getGoalModel()
|
Vector |
getGoals()
|
VectorSet |
getKnowledgeTypes()
|
Properties |
getPrefs()
Reply the designers personal preferneces. |
Vector |
getSupportedDecisions()
|
Vector |
getSupportedGoals()
|
ToDoList |
getToDoList()
Reply this Designer's ToDoList, a list of pending problems and issues that the designer might be interested in. |
boolean |
hasGoal(String goal)
Record the extent to which the designer desires the given goal. |
void |
inform(ToDoItem item)
Inform the human designer using this system that the given ToDoItem should be considered. |
boolean |
isConsidering(Decision d)
|
boolean |
isConsidering(String decision)
Reply true iff the designer is currently considering the given decison. |
void |
nondisruptivelyWarn(ToDoItem item)
Inform the human designer that there is a ToDoItem that is relevant to his design work, and allow him to consider it on his own initiative. |
void |
propertyChange(PropertyChangeEvent pce)
|
void |
removeToDoItems(ToDoList list)
Remove all the items in the given list from my list. |
void |
run()
Continuously select and execute critics against this designer's design. |
void |
setAutoCritique(boolean b)
|
void |
setChildGenerator(ChildGenerator cg)
|
void |
setCritiquingInterval(int i)
|
static void |
setCritiquingRoot(Object d)
|
void |
setDecisionPriority(String decision,
int priority)
Record the extent to which the designer is considering the given decision. |
void |
setExpertEmail(String addr)
|
void |
setGoalPriority(String goal,
int priority)
|
void |
snooze()
|
void |
spawnCritiquer(Object root)
Start a separate thread to continually select and execute critics that are relevant to this designer's work. |
void |
startConsidering(Decision d)
|
void |
startConsidering(String decision)
|
void |
startDesiring(String goal)
|
boolean |
stillValid(ToDoItem i,
Designer d)
ToDoItem's that are posted by the designer are assumed to be valid until the designer explicitly removes them. |
void |
stopConsidering(Decision d)
|
void |
stopConsidering(String decision)
|
void |
stopDesiring(String goal)
|
boolean |
supports(Decision d)
|
boolean |
supports(Goal g)
|
static Designer |
theDesigner()
|
static void |
theDesigner(Designer d)
|
String |
toString()
|
void |
unsnooze()
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static Designer TheDesigner
public static boolean _userWorking
public static int _longestAdd
public static int _longestHot
protected long _critiqueDuration
protected long _lastCritique
public static Vector UNSPEC_DECISION_VECTOR
public static Vector UNSPEC_GOAL_VECTOR
| Constructor Detail |
public Designer()
| Method Detail |
public static void theDesigner(Designer d)
public static Designer theDesigner()
public void spawnCritiquer(Object root)
public void run()
public void critiqueASAP(Object dm,
String reason)
public void critique(Design des)
public void propertyChange(PropertyChangeEvent pce)
public void determineActiveCritics()
public boolean getAutoCritique()
public void setAutoCritique(boolean b)
public int getCritiquingInterval()
public void setCritiquingInterval(int i)
public static void setCritiquingRoot(Object d)
public static Object getCritiquingRoot()
public ChildGenerator getChildGenerator()
public void setChildGenerator(ChildGenerator cg)
public DecisionModel getDecisionModel()
public Vector getDecisions()
public GoalModel getGoalModel()
public Vector getGoals()
public boolean stillValid(ToDoItem i,
Designer d)
ToDoItem,
Critic.stillValid(uci.argo.kernel.ToDoItem, uci.argo.kernel.Designer)public boolean supports(Decision d)
public Vector getSupportedDecisions()
public boolean supports(Goal g)
public Vector getSupportedGoals()
public boolean containsKnowledgeType(String type)
public VectorSet getKnowledgeTypes()
public String expand(String desc,
VectorSet offs)
public Icon getClarifier()
public ToDoList getToDoList()
ToDoListpublic void addToDoItems(ToDoList list)
public void removeToDoItems(ToDoList list)
public Properties getPrefs()
public boolean isConsidering(String decision)
public boolean isConsidering(Decision d)
public void setDecisionPriority(String decision,
int priority)
public void defineDecision(String decision,
int priority)
public void startConsidering(String decision)
public void startConsidering(Decision d)
public void stopConsidering(String decision)
public void stopConsidering(Decision d)
public boolean hasGoal(String goal)
public void setGoalPriority(String goal,
int priority)
public void startDesiring(String goal)
public void stopDesiring(String goal)
public String getExpertEmail()
public void setExpertEmail(String addr)
public void snooze()
public void unsnooze()
public Agency getAgency()
public void inform(ToDoItem item)
public void disruptivelyWarn(ToDoItem item)
public void nondisruptivelyWarn(ToDoItem item)
public int disruptiveThreshold()
public String toString()
public void fixIt(ToDoItem item,
Object arg)
public boolean canFixIt(ToDoItem item)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||