This is the Javadoc documentation for TRMSim-WSN, a Trust and Reputation Models Simulator for Wireless Sensor Networks.

See:
          Description

Packages
es.ants.felixgm.trmsim_wsn This package includes all the classes needed for running simulations, obtaining outcomes and communicating the GUI with the model through a Controller class
es.ants.felixgm.trmsim_wsn.gui This package includes all the classes needed for modelling the GUI of TRMSim-WSN (the main window, the help and about windows, etc.)
es.ants.felixgm.trmsim_wsn.gui.legendpanels This package includes all the classes needed for modelling the legend panels for each implemented trust and reputation model
es.ants.felixgm.trmsim_wsn.gui.networkpanels This package includes all the classes needed for modelling the network panels for each implemented trust and reputation model
es.ants.felixgm.trmsim_wsn.gui.outcomespanels This package includes all the classes needed for plotting the outcomes for each implemented trust and reputation model
es.ants.felixgm.trmsim_wsn.gui.parameterpanels This package includes all the classes needed for collecting the parameter values for each implemented trust and reputation model from a panel
es.ants.felixgm.trmsim_wsn.network This package includes all the classes needed for modelling a WSN where some services are offered by certain servers and where several clients apply for one of those services
es.ants.felixgm.trmsim_wsn.outcomes This package includes all the classes needed for modelling the outcomes for each implemented trust and reputation model
es.ants.felixgm.trmsim_wsn.satisfaction This package includes all the classes needed for modelling the different representations of the satisfaction of a client with a received service
es.ants.felixgm.trmsim_wsn.search This package includes all the classes needed for searching a specific sensor accomplishing a given condition such as being a client or a server offering a specific service
es.ants.felixgm.trmsim_wsn.trm This package includes all the classes needed for modelling a generic Trust and Reputation Model for WSN
es.ants.felixgm.trmsim_wsn.trm.btrm_wsn This package includes all the classes needed for modelling BTRM-WSN (Bio-inspired Trust and Reputation Model for Wireless Sensor Networks)
es.ants.felixgm.trmsim_wsn.trm.eigentrust This package includes all the classes needed for modelling EigenTrust
es.ants.felixgm.trmsim_wsn.trm.lftm This package includes all the classes needed for modelling LFTM (Linguistic Fuzzy Trust Model)
es.ants.felixgm.trmsim_wsn.trm.lftm.fuzzylib This package includes all the classes needed for modelling Fuzzy Sets and its corresponding Fuzzy Rules.
es.ants.felixgm.trmsim_wsn.trm.peertrust This package includes all the classes needed for modelling PeerTrust
es.ants.felixgm.trmsim_wsn.trm.powertrust This package includes all the classes needed for modelling PowerTrust
es.ants.felixgm.trmsim_wsn.trm.templatetrm This package includes all the classes needed for modelling TemplateTRM

 

This is the Javadoc documentation for TRMSim-WSN, a Trust and Reputation Models Simulator for Wireless Sensor Networks.

Description

T

RMSim-WSN (Trust and Reputation Models Simulator for Wireless Sensor Networks) is a Java-based simulator aimed to test Trust and Reputation models for WSNs.

It provides several Trust and Reputation models and new ones can be easily added.

It allows researchers to test and compare their trust and reputation models against a wide range of WSNs. They can decide whether they want static or dynamic networks, the percentage of fraudulent nodes, the percentage of nodes acting as clients or servers, etc.

It has been designed to easily adapt and integrate a new model within the simulator. Only a few classes have to be implementend in order to carry out this task.

 

TRMSim-WSN

Download

This simulator has been developed under jdk 1.6.

The full source code can be downloaded from its sourceforge project page.

Download
TRMSim-WSN, Trust and Reputation Models Simulator for Wireless Sensor Networks  

Project Admins: felixgm, gregorio-umu
Operating System: OS Independent (Written in an interpreted language)
License: GNU Library or Lesser General Public License (LGPL)
Category: Bio-Informatics, Simulations, Security, Frameworks, User Interfaces, Benchmark

Trust & Reputation models parameters input sample files

WSN XML input file

  1. A sample XML network input file
  2. Network

  3. A sample XML network input file
  4. Network

New Trust and Reputation Model

In order to add a new Trust and Reputation Model, called TemplateTRM, into TRMSim you need to follow the next steps:

  1. Create a folder inside trmodels folder named templatetrm
  2. Create a parameters file inside folder templatetrm, called TemplateTRMparameters.txt
  3. Create a package called es.ants.felixgm.trmsim_wsn.trm.templatetrm (from now on, ‘subpackage templatetrm’)
  4. Create a subclass of class TRMParameters called TemplateTRM_Parameters in the subpackage templatetrm
  5. Within the package es.ants.felixgm.trmsim_wsn.gui.parameterpanels create a subclass of class TRMParametersPanel called TemplateTRM_ParametersPanel
  6. Create a subclass of class Sensor called TemplateTRM_Sensor in the subpackage templatetrm
  7. Create a subclass of class Network called TemplateTRM_Network in the subpackage templatetrm
  8. Create a subclass of class TRModel_WSN called TemplateTRM in the subpackage templatetrm (it is important that both the model and the package have the same name, ignoring upper and lowercase letters, in order to be automatically detectable by the simulator)
Félix Gómez Mármol, "Implementing and Integrating a new Trust and/or Reputation Model in TRMSim-WSN", user manual, 2009

Related work