250 likes | 389 Views
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
E N D
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 • EVENTS_SELECTED start_events_selection • Budget, time slot, start location, end location • Make event instances involving selection mechanism • Sort and return
Events Selection • Make Event Instances • Event types • Event instance (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 Selection • Selection Mechanism • Hard constraints • Weather for parks • Adult certification for movies • Availability • Temporal and budget possibility check • Fix-time events • Non-fix-time events
Events Selection • Rating-Based Preferences • Event type preference • Classified based on age and gender • Example: shopping for females • Temporal preference • Example: ordinary lunch / dinner time • Personal preference
Events Selection • Personal 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 )
Events Selection • Preference Combination • Personal preference combination (geometric mean) • Client’s event instance preference (product) Ppersonal= pow ( ∏ pi * Pplace , 1/n+1) Pinstance= Ppersonal* Ptype * Ptemporal
Events Selection • Sort And Return • Sort all the event instances based on Pinstance • Return the best five ones for making itineraries
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)))
Events Selection • Data 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
Travel Mode Selection • Stefan’s part
Weekend Planner Itinerary Selection
Itinerary Selection • Stefan’s part
Weekend Planner User Interface
User Interface • Amit’s part
Weekend Planner Demo