refactoring visitor usage in lazy flipper
refactoring visitor usage in LBP and TRBP
refactoring visitor usage in Multicut, fix bug with constant factor
 comment unused typedef
uncomment callars for refactored methods