A pattern directed inference approach to hardwood log breakdown decision automation