An artificial intelligence approach to calculate the capacity of bulk cargo terminal