Uses of Class
es.ants.felixgm.trmsim_wsn.network.Sensor

Packages that use Sensor
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.networkpanels This package includes all the classes needed for modeling the network panels for each implemented trust and reputation model 
es.ants.felixgm.trmsim_wsn.network This package includes all the classes needed for modeling 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.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 modeling a generic Trust and Reputation Model for WSN 
es.ants.felixgm.trmsim_wsn.trm.btrm_wsn This package includes all the classes needed for modeling 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 modeling EigenTrust 
es.ants.felixgm.trmsim_wsn.trm.lftm This package includes all the classes needed for modeling LFTM (Linguistic Fuzzy Trust Model) 
es.ants.felixgm.trmsim_wsn.trm.peertrust This package includes all the classes needed for modeling PeerTrust 
es.ants.felixgm.trmsim_wsn.trm.powertrust This package includes all the classes needed for modeling PowerTrust 
es.ants.felixgm.trmsim_wsn.trm.templatetrm This package includes all the classes needed for modeling TemplateTRM 
es.ants.felixgm.trmsim_wsn.trm.trip This package includes all the classes needed for modeling TRIP (Trust and Reputation Infrastructure-based Proposal for Vehicular Ad-hoc Networks) 
 

Uses of Sensor in es.ants.felixgm.trmsim_wsn
 

Methods in es.ants.felixgm.trmsim_wsn that return Sensor
 Sensor Controller.getSensor(int id)
          This method returns the sensor with identifier id.
 Sensor Controller.getSensorAtCoordinate(double x, double y)
           
 

Uses of Sensor in es.ants.felixgm.trmsim_wsn.gui.networkpanels
 

Methods in es.ants.felixgm.trmsim_wsn.gui.networkpanels with parameters of type Sensor
protected  void EigenTrustNetworkPanel.paintSensor(Sensor sensor, java.awt.Color color, java.awt.Graphics graphics)
           
protected  void NetworkPanel.paintSensor(Sensor sensor, java.awt.Color color, java.awt.Graphics graphics)
          This method plots a wireless sensor
protected  void PowerTrustNetworkPanel.paintSensor(Sensor sensor, java.awt.Color color, java.awt.Graphics graphics)
           
protected  void TRIPNetworkPanel.paintSensor(Sensor sensor, java.awt.Color color, java.awt.Graphics graphics)
           
 

Uses of Sensor in es.ants.felixgm.trmsim_wsn.network
 

Fields in es.ants.felixgm.trmsim_wsn.network declared as Sensor
protected  Sensor Link.destination
          Destination node of the link
protected  Sensor Link.source
          Source node of the link
 

Fields in es.ants.felixgm.trmsim_wsn.network with type parameters of type Sensor
protected  java.util.Collection<Sensor> Network.clients
          The clients requesting services
protected  java.util.Collection<Sensor> Network.sensors
          All the sensors composing the network
protected  java.util.Collection<Sensor> Network.servers
          The servers offering services
 

Methods in es.ants.felixgm.trmsim_wsn.network that return Sensor
 Sensor Link.get_destination()
          Retrives the destination sensor of this link
 Sensor Link.get_source()
          Retrives the source sensor of this link
 Sensor Network.getSensor(int id)
          This method returns the sensor with identifier id.
abstract  Sensor Network.newSensor()
          This method creates a new sensor.
abstract  Sensor Network.newSensor(int id, double x, double y)
          This method creates a new sensor.
 

Methods in es.ants.felixgm.trmsim_wsn.network that return types with arguments of type Sensor
 java.util.Collection<java.util.Vector<Sensor>> Sensor.findSensors(ISearchCondition searchCondition)
          This method finds the shortest paths from this Sensor to any reachable Sensor satisfying a given condition (inactive or idle sensors are excluded from any path)
 java.util.Collection<Sensor> Network.get_clients()
          This method retrieves the set of clients belonging to this network
 java.util.Collection<Sensor> Network.get_sensors()
          This method retrieves the set of sensors belonging to this network
 java.util.Collection<Sensor> Network.get_servers()
          This method retrieves the set of servers belonging to this network
 java.util.Collection<Sensor> Sensor.getNeighbors()
          Returns all the neighbors of this sensor, i.e., all the sensors reachable from this one, one step forward
 

Methods in es.ants.felixgm.trmsim_wsn.network with parameters of type Sensor
 void Sensor.addLink(Sensor sensor)
          Adds a link to a given sensor
 double Sensor.distance(Sensor sensor)
          Calculates the distance between this sensor and a given one
 int Sensor.distanceInHops(Sensor sensor)
          This method returns the minimum number of hops from this sensor to the specified one
 boolean Sensor.equals(Sensor node)
          It indicates if this sensor is equal to a certain one, according to their id
 boolean Sensor.isNeighbor(Sensor sensor)
          Indicates if a given sensor is neighbor of this one
protected  boolean Network.reachesQualifiedService(Sensor sensor, Service requiredService)
          This method checks if a given sensor can reach any client and any benevolent server offering a given service
 void Sensor.removeLink(Sensor sensor)
          Removes the link with a given sensor
 

Method parameters in es.ants.felixgm.trmsim_wsn.network with type arguments of type Sensor
 Service Sensor.serve(Service service, java.util.Vector<Sensor> path)
          This method returns a requested service.
 

Constructors in es.ants.felixgm.trmsim_wsn.network with parameters of type Sensor
Link(Sensor source, Sensor destination)
          Class Link constructor
 

Constructor parameters in es.ants.felixgm.trmsim_wsn.network with type arguments of type Sensor
Network(java.util.Collection<Sensor> clients, java.util.Collection<Sensor> servers, java.util.Collection<Service> services)
          This constructor creates a new Network from a given set of clients, servers and services
Network(java.util.Collection<Sensor> clients, java.util.Collection<Sensor> servers, java.util.Collection<Service> services)
          This constructor creates a new Network from a given set of clients, servers and services
 

Uses of Sensor in es.ants.felixgm.trmsim_wsn.search
 

Methods in es.ants.felixgm.trmsim_wsn.search with parameters of type Sensor
 boolean ISearchCondition.sensorAcomplishesCondition(Sensor sensor)
          Indicates if a given sensor accomplishes a certain condition
 boolean IsClientSearchCondition.sensorAcomplishesCondition(Sensor sensor)
          Indicates if a given sensor acts as a client because it does not offer any service or not
 boolean IsPowerNodeSearchCondition.sensorAcomplishesCondition(Sensor sensor)
          Indicates if a given sensor acts as a power node within the PowerTrust model
 boolean IsPreTrustedPeerSearchCondition.sensorAcomplishesCondition(Sensor sensor)
          Indicates if a given sensor acts as a pre-trusted peer within the EigenTrust model
 boolean IsSensorSearchCondition.sensorAcomplishesCondition(Sensor sensor)
          Indicates if a given sensor has a specific identifier
 boolean IsServerSearchCondition.sensorAcomplishesCondition(Sensor sensor)
          Indicates if a sensor acts as a server, offering a given service with or without a given goodness
 boolean NumHopsSearchCondition.sensorAcomplishesCondition(Sensor sensor)
          Indicates if a given sensor is closer than a specific number of hops
 

Constructors in es.ants.felixgm.trmsim_wsn.search with parameters of type Sensor
NumHopsSearchCondition(Sensor source, int numHops)
          Class NumHopsSearchCondition constructor
 

Uses of Sensor in es.ants.felixgm.trmsim_wsn.trm
 

Fields in es.ants.felixgm.trmsim_wsn.trm with type parameters of type Sensor
protected  java.util.Collection<java.util.Vector<Sensor>> GatheredInformation.pathsToServers
          Set of paths leading from a certain client to all the reachable servers
 

Methods in es.ants.felixgm.trmsim_wsn.trm that return types with arguments of type Sensor
 java.util.Collection<java.util.Vector<Sensor>> GatheredInformation.getPathsToServers()
          Returns the set of paths leading from a certain client to all the reachable servers
abstract  java.util.Vector<Sensor> TRModel_WSN.scoreAndRanking(Sensor client, GatheredInformation gi)
          This method computes a trust and/or reputation value for each reachable server from the specified client and returns either a sorted list of all the reachable servers or a path leading directly to the most trustworthy and/or reputable one
 

Methods in es.ants.felixgm.trmsim_wsn.trm with parameters of type Sensor
abstract  GatheredInformation TRModel_WSN.gatherInformation(Sensor client, Service service)
          This method collects or gathers the required information from the network needed to evaluate each sensor offering a given service in order to determine whether to have a transaction with it or not
abstract  java.util.Vector<Sensor> TRModel_WSN.scoreAndRanking(Sensor client, GatheredInformation gi)
          This method computes a trust and/or reputation value for each reachable server from the specified client and returns either a sorted list of all the reachable servers or a path leading directly to the most trustworthy and/or reputable one
 

Method parameters in es.ants.felixgm.trmsim_wsn.trm with type arguments of type Sensor
abstract  Outcome TRModel_WSN.performTransaction(java.util.Vector<Sensor> path, Service service)
          This method actually requests a desired service to a specified server and evaluates the satisfaction of the client with the actually received service
abstract  Outcome TRModel_WSN.punish(java.util.Vector<Sensor> path, Outcome outcome)
          This method punishes a server if the client is not satisfied with the received service, according to that precise dissatisfaction
abstract  Outcome TRModel_WSN.reward(java.util.Vector<Sensor> path, Outcome outcome)
          This method rewards a server if the client is satisfied with the received service, according to that precise satisfaction
protected  void GatheredInformation.setCollectionServers(java.util.Collection<java.util.Vector<Sensor>> pathsToServers)
          Sets the collection of paths leading from a certain client to all the reachable servers
 

Constructor parameters in es.ants.felixgm.trmsim_wsn.trm with type arguments of type Sensor
GatheredInformation(java.util.Collection<java.util.Vector<Sensor>> pathsToServers)
          Class GatheredInformation constructor
 

Uses of Sensor in es.ants.felixgm.trmsim_wsn.trm.btrm_wsn
 

Subclasses of Sensor in es.ants.felixgm.trmsim_wsn.trm.btrm_wsn
 class BTRM_Sensor
          This class models a Sensor implementing BTRM-WSN
 

Methods in es.ants.felixgm.trmsim_wsn.trm.btrm_wsn that return Sensor
 Sensor BTRM_Ant.moveBack()
          The ant moves back until it finds a server offering the desired service or a server with more paths to explore or until it reaches the client it departed from
 Sensor BTRM_Network.newSensor()
           
 Sensor BTRM_Network.newSensor(int id, double x, double y)
           
 

Methods in es.ants.felixgm.trmsim_wsn.trm.btrm_wsn that return types with arguments of type Sensor
 java.util.Vector<Sensor> BTRM_WSN.scoreAndRanking(Sensor client, GatheredInformation gi)
           
 

Methods in es.ants.felixgm.trmsim_wsn.trm.btrm_wsn with parameters of type Sensor
 void BTRM_Sensor.addLink(Sensor node)
           
 GatheredInformation BTRM_WSN.gatherInformation(Sensor client, Service service)
           
 double BTRM_Sensor.getHeuristic(Sensor sensor)
          Gets the heuristic value with a given neighbor
 double BTRM_Sensor.getPheromone(Sensor sensor)
          Gets the pheromone trace with a given neighbor
 void BTRM_Ant.pheromoneLocalUpdating(double phi, Sensor nextSensor)
          This method carries out the pheromone local updating of the edge connecting the current last server in the path and the next server passed as an argument
 java.util.Vector<Sensor> BTRM_WSN.scoreAndRanking(Sensor client, GatheredInformation gi)
           
 void BTRM_Sensor.setHeuristic(Sensor sensor, double value)
          Sets the heuristic trace value of the link connecting to a certain neighbor
 void BTRM_Sensor.setPheromone(Sensor sensor, double value)
          Sets the pheromone trace value of the link connecting to a certain neighbor
 

Method parameters in es.ants.felixgm.trmsim_wsn.trm.btrm_wsn with type arguments of type Sensor
 Outcome BTRM_WSN.performTransaction(java.util.Vector<Sensor> path, Service service)
           
 Outcome BTRM_WSN.punish(java.util.Vector<Sensor> path, Outcome outcome)
           
 Outcome BTRM_WSN.reward(java.util.Vector<Sensor> path, Outcome outcome)
           
 

Uses of Sensor in es.ants.felixgm.trmsim_wsn.trm.eigentrust
 

Subclasses of Sensor in es.ants.felixgm.trmsim_wsn.trm.eigentrust
 class EigenTrust_Sensor
          This class models a Sensor implementing EigenTrust
 

Methods in es.ants.felixgm.trmsim_wsn.trm.eigentrust that return Sensor
 Sensor EigenTrust_Network.newSensor()
           
 Sensor EigenTrust_Network.newSensor(int id, double x, double y)
           
 

Methods in es.ants.felixgm.trmsim_wsn.trm.eigentrust that return types with arguments of type Sensor
 java.util.Vector<Sensor> GatheredInformationEigenTrust.getPathToServer(int serverId)
          This method returns the path leading to a given server
 java.util.Vector<Sensor> EigenTrust.scoreAndRanking(Sensor client, GatheredInformation gi)
           
 

Methods in es.ants.felixgm.trmsim_wsn.trm.eigentrust with parameters of type Sensor
 GatheredInformation EigenTrust.gatherInformation(Sensor client, Service service)
           
protected  boolean EigenTrust_Network.reachesQualifiedService(Sensor sensor, Service requiredService)
           
 java.util.Vector<Sensor> EigenTrust.scoreAndRanking(Sensor client, GatheredInformation gi)
           
 

Method parameters in es.ants.felixgm.trmsim_wsn.trm.eigentrust with type arguments of type Sensor
 Outcome EigenTrust.performTransaction(java.util.Vector<Sensor> path, Service service)
           
 Outcome EigenTrust.punish(java.util.Vector<Sensor> path, Outcome outcome)
          EigenTrust does not implement this method, since it does not apply any specific punish step
 Outcome EigenTrust.reward(java.util.Vector<Sensor> path, Outcome outcome)
          EigenTrust does not implement this method, since it does not apply any specific reward step
 void GatheredInformationEigenTrust.setCollectionClients(java.util.Collection<java.util.Vector<Sensor>> pathsToClients)
          This method establishes the set of paths leading from a certain client to all the reachable clients
 

Constructor parameters in es.ants.felixgm.trmsim_wsn.trm.eigentrust with type arguments of type Sensor
GatheredInformationEigenTrust(java.util.Collection<java.util.Vector<Sensor>> pathsToServers, int numSensors)
          Class GatheredInformationEigenTrust constructor
 

Uses of Sensor in es.ants.felixgm.trmsim_wsn.trm.lftm
 

Subclasses of Sensor in es.ants.felixgm.trmsim_wsn.trm.lftm
 class LFTM_Sensor
          This class models a Sensor implementing LFTM
 

Methods in es.ants.felixgm.trmsim_wsn.trm.lftm that return Sensor
 Sensor LFTM_Network.newSensor()
           
 Sensor LFTM_Network.newSensor(int id, double x, double y)
           
 

Methods in es.ants.felixgm.trmsim_wsn.trm.lftm that return types with arguments of type Sensor
 java.util.Vector<Sensor> LFTM.scoreAndRanking(Sensor client, GatheredInformation gi)
           
 

Methods in es.ants.felixgm.trmsim_wsn.trm.lftm with parameters of type Sensor
 void LFTM_Sensor.addLink(Sensor node)
           
 GatheredInformation LFTM.gatherInformation(Sensor client, Service service)
           
 double LFTM_Sensor.getHeuristic(Sensor sensor)
          Gets the heuristic value with a given neighbor
 double LFTM_Sensor.getPheromone(Sensor sensor)
          Gets the pheromone trace with a given neighbor
 void LFTM_Ant.pheromoneLocalUpdating(double phi, Sensor nextSensor)
          This method carries out the pheromone local updating of the edge connecting the current last server in the path and the next server passed as an argument
 java.util.Vector<Sensor> LFTM.scoreAndRanking(Sensor client, GatheredInformation gi)
           
 void LFTM_Sensor.setHeuristic(Sensor sensor, double value)
          Sets the heuristic trace value of the link connecting to a certain neighbor
 void LFTM_Sensor.setPheromone(Sensor sensor, double value)
          Sets the pheromone trace value of the link connecting to a certain neighbor
 

Method parameters in es.ants.felixgm.trmsim_wsn.trm.lftm with type arguments of type Sensor
 Outcome LFTM.performTransaction(java.util.Vector<Sensor> path, Service service)
           
 Outcome LFTM.punish(java.util.Vector<Sensor> path, Outcome outcome)
           
 Outcome LFTM.reward(java.util.Vector<Sensor> path, Outcome outcome)
           
 Service LFTM_Sensor.serve(Service service, java.util.Vector<Sensor> path)
          This method returns a requested service.
 

Uses of Sensor in es.ants.felixgm.trmsim_wsn.trm.peertrust
 

Subclasses of Sensor in es.ants.felixgm.trmsim_wsn.trm.peertrust
 class PeerTrust_Sensor
          This class models a Sensor implementing PeerTrust
 

Methods in es.ants.felixgm.trmsim_wsn.trm.peertrust that return Sensor
 Sensor Transaction.getClient()
          Returns the client who requested the service
 Sensor Transaction.getServer()
          Returns the server who provided the service
 Sensor PeerTrust_Network.newSensor()
           
 Sensor PeerTrust_Network.newSensor(int id, double x, double y)
           
 

Methods in es.ants.felixgm.trmsim_wsn.trm.peertrust that return types with arguments of type Sensor
 java.util.Vector<Sensor> PeerTrust.scoreAndRanking(Sensor client, GatheredInformation gi)
           
 

Methods in es.ants.felixgm.trmsim_wsn.trm.peertrust with parameters of type Sensor
 GatheredInformation PeerTrust.gatherInformation(Sensor client, Service service)
           
 java.util.Vector<Sensor> PeerTrust.scoreAndRanking(Sensor client, GatheredInformation gi)
           
 

Method parameters in es.ants.felixgm.trmsim_wsn.trm.peertrust with type arguments of type Sensor
 Outcome PeerTrust.performTransaction(java.util.Vector<Sensor> path, Service service)
           
 Outcome PeerTrust.punish(java.util.Vector<Sensor> path, Outcome outcome)
          PeerTrust does not implement this method, since it does not apply any specific punishment step
 Outcome PeerTrust.reward(java.util.Vector<Sensor> path, Outcome outcome)
          PeerTrust does not implement this method, since it does not apply any specific reward step
 

Constructors in es.ants.felixgm.trmsim_wsn.trm.peertrust with parameters of type Sensor
Transaction(Sensor client, Sensor server, Outcome outcome)
          Class Transaction constructor
 

Uses of Sensor in es.ants.felixgm.trmsim_wsn.trm.powertrust
 

Subclasses of Sensor in es.ants.felixgm.trmsim_wsn.trm.powertrust
 class PowerTrust_Sensor
          This class models a Sensor implementing PowerTrust
 

Methods in es.ants.felixgm.trmsim_wsn.trm.powertrust that return Sensor
 Sensor PowerTrust_Network.newSensor()
           
 Sensor PowerTrust_Network.newSensor(int id, double x, double y)
           
 

Methods in es.ants.felixgm.trmsim_wsn.trm.powertrust that return types with arguments of type Sensor
 java.util.Vector<Sensor> PowerTrust.scoreAndRanking(Sensor client, GatheredInformation gi)
           
 

Methods in es.ants.felixgm.trmsim_wsn.trm.powertrust with parameters of type Sensor
 GatheredInformation PowerTrust.gatherInformation(Sensor client, Service service)
           
 java.util.Vector<Sensor> PowerTrust.scoreAndRanking(Sensor client, GatheredInformation gi)
           
 

Method parameters in es.ants.felixgm.trmsim_wsn.trm.powertrust with type arguments of type Sensor
 Outcome PowerTrust.performTransaction(java.util.Vector<Sensor> path, Service service)
           
 Outcome PowerTrust.punish(java.util.Vector<Sensor> path, Outcome outcome)
          PowerTrust does not implement this method, since it does not apply any specific punish step
 Outcome PowerTrust.reward(java.util.Vector<Sensor> path, Outcome outcome)
          PowerTrust does not implement this method, since it does not apply any specific reward step
 

Uses of Sensor in es.ants.felixgm.trmsim_wsn.trm.templatetrm
 

Subclasses of Sensor in es.ants.felixgm.trmsim_wsn.trm.templatetrm
 class TemplateTRM_Sensor
          This class models a Sensor implementing TemplateTRM
 

Methods in es.ants.felixgm.trmsim_wsn.trm.templatetrm that return Sensor
 Sensor TemplateTRM_Network.newSensor()
           
 Sensor TemplateTRM_Network.newSensor(int id, double x, double y)
           
 

Methods in es.ants.felixgm.trmsim_wsn.trm.templatetrm that return types with arguments of type Sensor
 java.util.Vector<Sensor> TemplateTRM.scoreAndRanking(Sensor client, GatheredInformation gi)
           
 

Methods in es.ants.felixgm.trmsim_wsn.trm.templatetrm with parameters of type Sensor
 GatheredInformation TemplateTRM.gatherInformation(Sensor client, Service service)
           
 java.util.Vector<Sensor> TemplateTRM.scoreAndRanking(Sensor client, GatheredInformation gi)
           
 

Method parameters in es.ants.felixgm.trmsim_wsn.trm.templatetrm with type arguments of type Sensor
 Outcome TemplateTRM.performTransaction(java.util.Vector<Sensor> path, Service service)
           
 Outcome TemplateTRM.punish(java.util.Vector<Sensor> path, Outcome outcome)
           
 Outcome TemplateTRM.reward(java.util.Vector<Sensor> path, Outcome outcome)
           
 

Uses of Sensor in es.ants.felixgm.trmsim_wsn.trm.trip
 

Subclasses of Sensor in es.ants.felixgm.trmsim_wsn.trm.trip
 class TRIP_Sensor
          This class models a Sensor implementing TRIP
 

Methods in es.ants.felixgm.trmsim_wsn.trm.trip that return Sensor
 Sensor TRIP_Network.newSensor()
           
 Sensor TRIP_Network.newSensor(int id, double x, double y)
           
 

Methods in es.ants.felixgm.trmsim_wsn.trm.trip that return types with arguments of type Sensor
 java.util.Vector<Sensor> TRIP.scoreAndRanking(Sensor client, GatheredInformation gi)
           
 

Methods in es.ants.felixgm.trmsim_wsn.trm.trip with parameters of type Sensor
 GatheredInformation TRIP.gatherInformation(Sensor client, Service service)
           
 java.util.Vector<Sensor> TRIP.scoreAndRanking(Sensor client, GatheredInformation gi)
           
 

Method parameters in es.ants.felixgm.trmsim_wsn.trm.trip with type arguments of type Sensor
 Outcome TRIP.performTransaction(java.util.Vector<Sensor> selectedNeighbors, Service service)
           
 Outcome TRIP.punish(java.util.Vector<Sensor> selectedNeighbors, Outcome outcome)
           
 Outcome TRIP.reward(java.util.Vector<Sensor> selectedNeighbors, Outcome outcome)