Chapter 13. Reputation-and-Trust-Based Systems for Ad Hoc Networks