Efficient online tree, rule-based and distance-based algorithms (Journal of the Brazilian Computer Society, 2025)