| 1 | package Evo::QUIP::QUIPMethod; | ||
| 2 | |||
| 3 | use Evo::QUIP::MatrixNxN; | ||
| 4 | |||
| 5 | sub new { | ||
| 6 | my ($class, $nrows, $ncols) = @_; | ||
| 7 | |||
| 8 | my $self = { Q => Evo::QUIP::MatrixNxN->new($nrows, $ncols), | ||
| 9 | v => BinaryVectorN->new($nrows), }; | ||
| 10 | |||
| 11 | $class = ref($class) || $class; | ||
| 12 | |||
| 13 | bless $self, $class; | ||
| 14 | } | ||
| 15 | |||
| 16 | ### calculation of some sort of Nash equilibrium | ||
| 17 | sub calculate_xQxT { | ||
| 18 | my ($self) = @_; | ||
| 19 | |||
| 20 | } | ||
| 21 | |||
| 22 | ### calculation/setting Q itself | ||
| 23 | sub calculate_hermitian { | ||
| 24 | my ($self) = @_; | ||
| 25 | |||
| 26 | } | ||
| 27 | |||
| 28 | 1; |