Smart optical-fiber structure monitoring based on granular computing