Upload
shen
View
48
Download
0
Embed Size (px)
DESCRIPTION
Weekend Planner. CS4244 Group 6. Weekend Planner. Introduction. Introduction. Nitin’s Part. Weekend Planner. Itinerary Planning. Itinerary Planning. Ayush’s part. Weekend Planner. Events Selection. Events Selection. Component Receive the request from the itinerary maker - PowerPoint PPT Presentation
Citation preview
Weekend Planner
CS4244 Group 6
Weekend Planner
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Introduction
IntroductionNitin’s Part
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Weekend Planner
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Itinerary Planning
Itinerary PlanningAyush’s part
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Weekend Planner
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Events Selection
Events SelectionComponent
Receive the request from the itinerary maker▪ EVENTS_SELECTED
start_events_selection ▪ Budget, time slot, start location, end location
Make event instances involving selection mechanism
Sort and return
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Events SelectionMake Event Instances
Event types Event instance
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
(defclass EVENT_INSTANCE (is-a USER)(role concrete)(slot start_time (default [start])) (slot end_time (default [end])) (slot duration) (slot event_type) (slot description)(slot location (default [nus]))(slot expense (default 0)) (slot preference(default 0)
Events SelectionSelection Mechanism
Hard constraints▪ Weather for parks▪ Adult certification for movies▪ Availability
Temporal and budget possibility check▪ Fix-time events▪ Non-fix-time events
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Events SelectionRating-Based Preferences
Event type preference▪ Classified based on age and gender▪ Example: shopping for females
Temporal preference▪ Example: ordinary lunch / dinner time
Personal preferenceIntroduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Events SelectionPersonal Preference
Place preference▪ Based on public comments
Content preference▪ Preference type: Movie: genre▪ Preference instance: (Action, Comedy,
Animation)▪ Preference value: ( 0.5 , 0.8
, 0.5 )
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Events Selection
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Preference type Preference instance
Movie: genre Drama Action Comedy Horror Animation SF
Movie: language English Mandarin
Brand: item Clothes Cosmetics Computer CD Book
Park: natural_feature
Hill River Sea Woods
Museum: exhibition
Arts History Combination Civilization
Restaurant: cuisine
Japanese Cantonese Chinese Western IndiaThai
Italian Singaporean
Events SelectionPreference Combination
Personal preference combination (geometric mean)
Client’s event instance preference (product)Int
roduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Ppersonal = pow ( ∏ pi * Pplace , 1/n+1)
Pinstance = Ppersonal * Ptype * Ptemporal
Events SelectionSort And Return
Sort all the event instances based on Pinstance
Return the best five ones for making itineraries
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Events Selection (defrule select-go-to-park (fire-select-go-to-park) (object (is-a EVENTS_SELECTED) (name ?message) (ready FALSE) (budget ?budget)) (object (is-a CLIENT_BASIC_INFO) (name ?client)) (object (is-a PARK) (name ?park)) (test (check-hard-constraint-go-to-park)) => (compute-client-preference-for-go-to-park ?client ?park)) (bind ?b (get-event-type-preference ?client park)) (bind ?c (get-temporal-preference ?message park)) (bind ?cost (- ?budget ?expense)) (bind ?startTime (event_set_time ?message ?cost ?location ?duration)) (if (neq ?startTime FALSE) then (bind ?endTime (time_add ?startTime ?duration)) (bind ?eventInstance (make-instance (gensym*) of EVENT_INSTANCE
(location ?location) ... ... )) (compute-event-instance-preference ?a ?b ?c ?eventInstance) (update-events-list ?eventInstance)))
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Events SelectionData Gathering
For test▪ Ability to make rational plans▪ Work efficiency
Data base▪12 movies, 5 cinemas, 7 shopping centers, 16 brands, 8 parks, 6 museums, and 16 restaurants
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Events Selection
Travel Mode SelectionStefan’s part
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Events Selection
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Weekend Planner
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Itinerary Selection
Itinerary SelectionStefan’s part
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Weekend Planner
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
User Interface
User InterfaceAmit’s part
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Weekend Planner
Introduction
Itinerary
Events
Travel
Itinerary Selection
User Interface
Demo
Demo
Thankyou!