Professional Documents
Culture Documents
and scope of bargaining at both ends. While in online mode, • If the clients wish to change booking details then he
clients carry out booking either through phone or the Internet. would have to cancel the existing booking and request a
This indeed is quicker and faster but hinders bargaining. The new booking. This new booking would be treated afresh.
traditional online cab booking system is illustrated in Figure • The Meter readings are indicative of the traveled distance.
In online booking system database of booked/available taxis the necessary client details (ID Number).
is fed to the central server. All the bookings are query However, the centralized cab booking system has several
based which is directed to the central server and followed important features yet, it suffers from certain issues such as
by acknowledgment by the server. The customer is notified single point of failure, bargaining hindrance, no cab drivers
involvement. However, all these issues are important and need Suppose some company’s cab driver reaches the concerned
to be addressed, but pertinent among these is the single point spot and feels the need of around k number of cabs, the
of failure as it may cause undue loss to the company if driver calls k other cab(s) of the same company, thus fulfilling
central server turns down or breaks completely and recovery the requirement without letting clients to make furthermore
may take minutes, hours or even days. It further leads to the requests to server, thus reducing traffic at server and also,
inconvenience of cost to the customer and financial loss to the helped its company by not letting other companies to get
company. Hence, to avoid the losses due to the single point orders by avoiding the need to carry out booking at client’s
failure and to ensure best suitable rate facility (via bargaining), end. This protocol can help in enhancing the profit of the
on online booking to the customer, a distributed algorithm company as well as avoids central booking system failure due
needs to be designed per say. Additionally, some liberty might to peer to peer booking by the driver itself. We proposed the
be given to the driver to enhance availability and to improve distributed algorithm utilizing existing Contract Net Protocol
the efficiency of the system altogether such that they(drivers) [9] that helps in gathering the cabs at opportunity place.
could call in some more cabs at the location of opportunity and The most difficult thing involved with distributed system/al-
necessity for the customer which would help in profit growth gorithm [10] is its simulation, verification, and implantation
of the company. In this paper, we proposed novel intelligent because system’s elements are distributed and it is very hard to
agent based distributed cab booking system that addressed the assemble them under one umbrella [16]. We made an attempt
issues mentioned above. The cab is designed as autonomous, to implement the proposed distributed algorithm using Java
intelligent and independent agents. Our distributed approached based JADA framework which supports the implementation
can be easily add-on the cab infrastructure given by Kiam Tian of the multi agent system.
Seow et. al [7] as shown in Figure 2.
II. R ELATED W ORK
Strides towards enhancing the cab facilities have never taken
the halt, efforts in the fields of online cab booking, cab team
formation, efficient functioning have led to the discovery of
valuable research works and implementations. Some of the
discussions include excerpts from the research works [1]–[8]
GPS satellite
which showcase in details about different aspects of a taxicab
Wireless communication network and emphasize on its role and contributions in offering a
comfortable and flexible service to public transport system.
Passenger On exploring the fields of Global Positioning System (GPS)
in integration with nearest-coordinate or related method, Der-
Horng Lee et al. [4], [6] from on Singapore taxi dispatch
Cab system which proposes an alternative method, whereby the
dispatch of taxis is determined by real-time traffic conditions,
i.e. focus on the taxi which can reach to the customer in
shortest time. Talking about data mining techniques on mas-
sive transportation data, a research study in [2], shows the
investigation of the characteristics of travel behavior by urban
Cab population. Moving on to HaoWang’s idea [3] of chaining the
Cab trips where each pick-up point is chosen using customized
Cab algorithm of Pickup and Delivery which results in pickup
location coinciding with (being within close proximity) the
Fig. 2: Remote cab booking protocol based on distributed previous drop-off location.
approach Major highlights are on EZ cabs proposed [5] concepts
and its application which allows clients to establish a peer
According to the distributed approach proposed in this to peer network sort of booking which helps them fetching
paper, the cab driver will be the main player as he is the nearby cabs using their cell phones or PDAs that are equipped
one with better visibility and knowledge about the current with short-range wireless network interfaces. The prototype
situation of a particular region/location. We want to give more of EZ cab is of major use for understanding our proposed
liability to the cab drivers. In the centralized approach, they algorithm for setting connections between Coordinator driver
are just mere agents who received the order via call and and co-drivers, i.e. team formation. Since the team formation
provided service. In a distributed approach, if a driver finds is achieved by multi-agent collaboration so to understand this
some opportunity at certain location emerged may be due to very concept in the fields of cab services, studies of [7] are
a gathering of a birthday party, marriage, accidental scenario worth a read.
etc. that need one or more cabs, the driver can call other cabs Out of the discussed research works, only [5], [7] are based
that are presented within its vicinity. on decentralization approach, which helps us establishing our
Proceedings of 2017 Tenth International Conference on Contemporary Computing ( IC3), 10-12 August 2017, Noida, India
foundation more firmly, ranging from agreement mechanism TakeMe message to the cab that is selected by him and NOT-
between the different agents (connoted at [9] as well) to REQUIRED to others. The bargaining algorithm is shown in
wireless network setup for distributed cab booking system. Algorithm 1
Though some of the existing works [4], [6], [7], [23] have
discussed the distributed approach, to the best of the author’s
knowledge, no work in literature has addressed the issues
entailed in this paper.
In this paper, we proposed the novel approach based on
distributed Contract Net Protocol (CNP) which is one of the
important protocol for task allocation in multi-agent systems
consisting of a collection of nodes or software agents [9]. To
overcome the limitation where a task cannot be broken down
into subtask and a single agent is incapable of performing
such complex task alone (from the studies of CNP and its
extension works [11], [18], several new methodologies based
on coalition formation between agents have been discussed
in the research papers [15], [17], [18] but, none of these
methodologies is directly applicable to our problem.
Algorithm 2 : Distributed algorithm for cab gathering Telecom Italia was the first company which initially developed
1: C1 initialize cabs gathering process the JADE as an open source framework [19], [21]–[23].
2: Coordinator cab C1 checks for all the available co-cabs in the local vicinity and
start the process by broadcasting “Availability Status” message to all the co-
cabs;
3: An acknowledgment is sent by co-cabs which reply back their availability status
by sending Free or Busy message;
4: All those co-cabs which revert as Free become eligible to be chosen for the
coalition;
5: After receiving availability status from co-cabs, coordinator driver decide to whom
to call. Coordinator cabs C1 count the Free messages sent by co-driver, by
increasing its counter c;
6: if (f ≥ k) then d k = cabs required to call
7: Coordinator cabs C1 sends joinTeam message to any k out of f agents
and sends “noCall” to (f − k) agents;
8: Upon receipt of “joinJob” message co-cabs driver move to coordinator’s
location;
9: End of cabs gathering process;
performed to evaluate the cab gathering at some location via Hello! Cab C1@192.168.1.10:1099/JADE is
coalition formation using JADE [20]. A coalition needs to be ready to serve.
formed prior to gathering the required cabs at some specified Hello! Cab A2@192.168.1.10:1099/JADE is
ready to serve.
location via asynchronous messages passing. The coalition Hello! Cab A3@192.168.1.10:1099/JADE is
is formed via communication-based agreement. We identified ready to serve.
that JADE is the suitable tool that provides asynchronous Hello! Cab A4@192.168.1.10:1099/JADE is
message passing facility among agents. The gathering of cabs ready to serve.
is achieved by the Algorithm 2 and respective results obtained May 18, 2017 12:58:26 PM
jade.core.AgentContainerImpl
are shown below. As soon as the coalition is formed the cabs joinPlatform
that have been selected for coalition become available at the INFO:
calling spot. --------------------------------------
The output of the JADE after successful of team formation Agent container
Main-Container@192.168.1.10 is ready.
detailed below. The cab driver C1 is assumed as a coordinator
--------------------------------------------
and it calls two more cabs at some location. Initially, cab Required numbrs of Cabs for C1 is 2
drivers A1, C2, A2, A3, and A4 are free and they ready to take Trying form a coalition C1
the call from coordinator drive C1. Finally, driver C1 choose Found the following Cabs by: C1
A1 and A2 to be the part of team/coalition and C2 and A3 (agent-identifier :name
A1@192.168.1.10:1099/JADE:
get freed by C1. Hence, by consensus to all cabs, the final
addresses (sequence
coalition is formed and within a finite amount of time, the http://192.168.1.10:7778/acc ))
selected cabs reach to the desired location. The overall results (agent-identifier :name
obtained which are shown below, support our hypothesis. C2@192.168.1.10:1099/JADE:
addresses (sequence
http://192.168.1.10:7778/acc ))
(agent-identifier :name
A2@192.168.1.10:1099/JADE:
addresses (sequence
http://192.168.1.10:7778/acc ))
(agent-identifier :name
C1@192.168.1.10:1099/JADE:
addresses (sequence
http://192.168.1.10:7778/acc ))
(agent-identifier :name
A3@192.168.1.10:1099/JADE:
addresses (sequence
http://192.168.1.10:7778/acc ))
(agent-identifier :name
A4@192.168.1.10:1099/JADE:
addresses (sequence
http://192.168.1.10:7778/acc ))
VI. C ONCLUSION AND FUTURE W ORK [14] L. Vig, and J. A. Adams, “Multi-robot coalition formation”. IEEE
transactions on robotics, vol. 22, no. 4, pp. 637–649, 2006.
Nowadays, taxicabs are playing a very vital role in our day [15] J. S. Sichman, “DEPINT: Dependence-based coalition formation in an
to day life (especially in metropolitan cities). Generally, the open multi-agent scenario”. Journal of Artificial Societies and Social
booking of a taxicab is handled by an online cab booking Simulation, 1(2), 3, 1998.
[16] A. Nath, and R. Niyogi, “A Team Formation with Unknown Size in
system. Most of the existing bookings systems are based Multi-agent Environment”. In International Conference on Information
on the centralized concept, i.e., booking in such systems Technology (ICIT), pp. 33-38. December, 2016.
are governed by a central server. Nevertheless, centralized [17] G. Zlotkin, and J. S. Rosenschein, “Mechanisms for automated ne-
gotiation in state oriented domains”. Journal of Artificial Intelligence
approaches have some limitations: (i) these approaches are Research, 5, 163-238, 1996.
prone to single point of failure, (ii) these approaches do not [18] T. W. Sandholm, and V. R. Lesser, “Coalition formation among bounded
account for local information about different regions of a city rational agents”. In IJCAI, 1, pp. 662-671, August, 1995.
[19] F. Perkonigg, D. Brujic, & M. Ristic, “Platform for multiagent appli-
(e.g., some opportunity at certain location emerged may be due cation development incorporating accurate communications modeling”.
to gathering of birthday party, marriage, accidental scenario, IEEE Transactions on Industrial Informatics, 11(3), pp. 728-736, 2015.
etc.), and (iii) there is no scope of bargaining for the customers [20] JADE, developed by Telecom Italia Lab. http://jade.tilab.com/.
[21] F. L. Bellifemine, G. Caire, & D. Greenwood, “Developing multi-agent
due the static nature of centralized cab booking systems. systems with JADE”, vol. 7. John Wiley & Sons, 2007.
Having analyzed the above mentioned limitations of the [22] F. Bellifemine, A. Poggi, & G. Rimassa. JADEA FIPA-compliant agent
centralized approaches, we designed an intelligent agent based framework. In Proceedings of PAAM, vol. 99, No. 97-108, p. 33, April,
1999.
distributed approach for taxicab booking system. The proposed [23] C. J. Su, & C. Y. Wu, “JADE implemented mobile multi-agent based,
approach is able to deter the single point of failure, and utilize distributed information platform for pervasive health care monitoring”.
the local information of the different region of the city to Applied Soft Computing, 11(1), pp. 315-325, 2011.
[24] A. C. L. Fipa. Fipa acl message structure specification. Founda-
improve the cab availability. Furthermore, to incorporate the tion for Intelligent Physical Agents, http://www. fipa. org/specs/-
bargaining facility and cabs driver participation, we designed fipa00061/SC00061G, 2002.
the distributed algorithms (see Algorithm 1 and 2). One of the
proposed distributed algorithms (Algorithm 2) is implemented
by using JADE framework. As part of our ongoing and future
work, we would implement our proposed system for real cab
booking system.
REFERENCES
[1] D. Santani, R. K. Balan, & C. J. Woodard, “Spatio-temporal efficiency
in a taxi dispatch system”. In 6th International Conference on Mobile
Systems, Applications, and Services, MobiSys, October, 2008.
[2] C. Wang, W. K. Ng, & H. Chen., “From data to knowledge to action:
A taxi business intelligence system”. In 15th International Conference
on Information Fusion (FUSION), pp. 1623-1628, July 2012.
[3] H. Wang, D. H. Lee, & R. Cheu, “PDPTW based taxi dispatch mod-
eling for booking service”. In 5th International Conference on Natural
Computation, vol. 1, pp. 242-247, August, 2009.
[4] Z. Liao, “Real-time taxi dispatching using global positioning systems”.
Communications of the ACM, 46(5), 81-83, 2003.
[5] P. Zhou, T. Nadeem, P. Kang, C. Borcea, & L. Iftode, “EZCab: A
cab booking application using short-range wireless communication”. In
Pervasive Computing and Communications. In 3rd IEEE International
Conference on (pp. 27-38), March, 2005.
[6] D. H. Lee, H. Wang, R. Cheu, & S. Teo, “Taxi dispatch system based
on current demands and real-time traffic conditions. Transportation
Research Record: Journal of the Transportation Research Board, (1882),
pp. 193-200, 2004.
[7] K. T. Seow, N. H. Dang, & D. H. Lee, “A collaborative multiagent taxi-
dispatch system”. IEEE Transactions on Automation Science and
Engineering, 7(3), pp. 607-616, 2010.
[8] M. Maciejewski, “Online taxi dispatching via exact offline optimiza-
tion”, 2014.
[9] R. Smith, “The Contract Net Protocol: High-Level Communication
and Control in a Distributed Problem Solver”. IEEE Transactions on
computers, 29(12), pp. 1104-1113, 1980.
[10] N. A. Lynch, “Distributed algorithms. Morgan Kaufmann, 1996.
[11] K. Fischer, J. R. P. Müller, and M. Pischel, “Cooperative transportation
scheduling: an application domain for DAI”. Applied Artificial Intelli-
gence, 10(1), 1-34, 1996.
[12] S. Abdallah, and V. Lesser, “Organization-based cooperative coalition
formation”. EEE/WIC/ACM International Conference on Intelligent
Agent Technology, pp. 162-168, 2004.
[13] S. Aknine, S. Pinson, and M. F Shakun. “A multi-agent coalition
formation method based on preference models”. Group Decision and
Negotiation, vol. 13(6), pp. 513–538, 2004.