25
Weekend Planner CS4244 Group 6

Weekend Planner

  • 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

Page 1: Weekend Planner

Weekend Planner

CS4244 Group 6

Page 2: Weekend Planner

Weekend Planner

Introduction

Itinerary

Events

Travel

Itinerary Selection

User Interface

Demo

Introduction

Page 3: Weekend Planner

IntroductionNitin’s Part

Introduction

Itinerary

Events

Travel

Itinerary Selection

User Interface

Demo

Page 4: Weekend Planner

Weekend Planner

Introduction

Itinerary

Events

Travel

Itinerary Selection

User Interface

Demo

Itinerary Planning

Page 5: Weekend Planner

Itinerary PlanningAyush’s part

Introduction

Itinerary

Events

Travel

Itinerary Selection

User Interface

Demo

Page 6: Weekend Planner

Weekend Planner

Introduction

Itinerary

Events

Travel

Itinerary Selection

User Interface

Demo

Events Selection

Page 7: Weekend Planner

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

Page 8: Weekend Planner

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)

Page 9: Weekend Planner

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

Page 10: Weekend Planner

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

Page 11: Weekend Planner

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

Page 12: Weekend Planner

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

Page 13: Weekend Planner

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

Page 14: Weekend Planner

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

Page 15: Weekend Planner

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)))

Page 16: Weekend Planner

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

Page 17: Weekend Planner

Introduction

Itinerary

Events

Travel

Itinerary Selection

User Interface

Demo

Events Selection

Page 18: Weekend Planner

Travel Mode SelectionStefan’s part

Introduction

Itinerary

Events

Travel

Itinerary Selection

User Interface

Demo

Page 19: Weekend Planner

Events Selection

Introduction

Itinerary

Events

Travel

Itinerary Selection

User Interface

Demo

Page 20: Weekend Planner

Weekend Planner

Introduction

Itinerary

Events

Travel

Itinerary Selection

User Interface

Demo

Itinerary Selection

Page 21: Weekend Planner

Itinerary SelectionStefan’s part

Introduction

Itinerary

Events

Travel

Itinerary Selection

User Interface

Demo

Page 22: Weekend Planner

Weekend Planner

Introduction

Itinerary

Events

Travel

Itinerary Selection

User Interface

Demo

User Interface

Page 23: Weekend Planner

User InterfaceAmit’s part

Introduction

Itinerary

Events

Travel

Itinerary Selection

User Interface

Demo

Page 24: Weekend Planner

Weekend Planner

Introduction

Itinerary

Events

Travel

Itinerary Selection

User Interface

Demo

Demo

Page 25: Weekend Planner

Thankyou!