  We propose a fog computing simulator for analysing the design and deployment
of applications through customized and dynamical strategies. We model the
relationships among deployed applications, network connections and
infrastructure characteristics through complex network theory, enabling the
integration of topological measures in dynamic and customizable strategies such
as the placement of application modules, workload location, and path routing
and scheduling of services. We present a comparative analysis of the efficiency
and the convergence of results of our simulator with the most referenced
entity, iFogSim. To highlight YAFS functionalities, we model three scenarios
that, to the best of our knowledge, cannot be implemented with current fog
simulators: dynamic allocation of new application modules, dynamic failures of
network nodes and user mobility along the topology.
