void TInfo :: init () { Point.init (); scanf ( "%lf" , &value ); cost [0] = L.distance ( Point ) * value; cost [1] = R.distance ( Point ) * value; }