Implementing general belief function framework with a practical codification for low complexity