Defense and Fractional Matchings -- Construction of Adaptive IDS Through IREP++ and ARM