Project

General

Profile

Actions

Feature #3965

closed

Переопределение метода toString() для классов Formula, Operation, Variable

Added by Igor Melnichenko about 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
02/25/2013
Due date:
% Done:

100%

Estimated time:
Published in build:
0.2

Description

Хотелось бы, чтобы у классов Formula, Operation, Variable был переопределён метод toString(), который бы возвращал инфиксный вариант выражения в случае с Formula и Operation и текстовое представление значения переменной в случае с Variable.

Actions #1

Updated by Sergey Smolov about 11 years ago

  • Assignee changed from Andrei Tatarnikov to Sergey Smolov
Actions #2

Updated by Alexander Kamkin about 11 years ago

  • Target version set to 0.1
Actions #3

Updated by Sergey Smolov about 11 years ago

  • Status changed from New to Feedback
  • Assignee changed from Sergey Smolov to Igor Melnichenko

Игорь, устроит ли тебя вариант с префиксной формой записи выражений? Дело в том, что он значительно проще в реализации, чем инфиксная, и обладает, по сути, той же информативностью. Стоит также сказать, что язык SMT-LIB, в который библиотекой транслируются все выражения, исповедует именно префиксную форму.

Actions #4

Updated by Igor Melnichenko about 11 years ago

Да, устроит.

Actions #5

Updated by Sergey Smolov about 11 years ago

  • Status changed from Feedback to Open
  • Assignee changed from Igor Melnichenko to Sergey Smolov

Ок, сейчас займусь.

Actions #6

Updated by Sergey Smolov about 11 years ago

  • Status changed from Open to Resolved

Выполнено.

r63

Actions #7

Updated by Sergey Smolov about 11 years ago

  • Assignee changed from Sergey Smolov to Igor Melnichenko
Actions #8

Updated by Sergey Smolov almost 11 years ago

  • % Done changed from 0 to 100
  • Published in build set to 0.2
Actions #9

Updated by Sergey Smolov almost 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF