Measurement of transaction cost of rest-grazing policy