A device for improving the function of a heart valve comprised of valve tissue including an annulus and a plurality of leaflets for allowing and preventing blood flow, the device comprising: a support member (542, 544) at least partially formed from a shape memory material operable to assume a first activated shape, a second activated shape and an inactivated shape, said support member (542, 544) being configured to abut one side of the valve and being arranged to conform to the shape of at least a part of the valve annulus upon said shape memory material assuming said first activated shape, and said support member (542, 544) being configured to assume a desired, altered course for remodeling the valve annulus upon said shape memory material assuming said second activated shape, wherein said shape memory material is arranged such that heating the shape memory material to a first temperature will bring the shape memory material to assume said first activated shape and further heating of the shape memory material to a second temperature will bring the shape memory material to assume said second activated shape, wherein the device is arranged in a generally elongate shape in the inactivated shape, wherein the support member is a first support member and the device further comprises a second support member connected to said first support member, said second support member being configured to abut an opposite side of the valve and being arranged to conform to the shape of at least a part of the valve annulus upon said shape memory material assuming said first activated shape, whereby a portion of the valve tissue is trapped between said first and second support members (542, 544), said second support member being configured to assume a desired, altered course for remodeling the valve annulus upon said shape memory material assuming said second activated shape. a support member (542, 544) at least partially formed from a shape memory material operable to assume a first activated shape, a second activated shape and an inactivated shape, said support member (542, 544) being configured to abut one side of the valve and being arranged to conform to the shape of at least a part of the valve annulus upon said shape memory material assuming said first activated shape, and said support member (542, 544) being configured to assume a desired, altered course for remodeling the valve annulus upon said shape memory material assuming said second activated shape, wherein said shape memory material is arranged such that heating the shape memory material to a first temperature will bring the shape memory material to assume said first activated shape and further heating of the shape memory material to a second temperature will bring the shape memory material to assume said second activated shape, wherein the device is arranged in a generally elongate shape in the inactivated shape, wherein the support member is a first support member and the device further comprises a second support member connected to said first support member, said second support member being configured to abut an opposite side of the valve and being arranged to conform to the shape of at least a part of the valve annulus upon said shape memory material assuming said first activated shape, whereby a portion of the valve tissue is trapped between said first and second support members (542, 544), said second support member being configured to assume a desired, altered course for remodeling the valve annulus upon said shape memory material assuming said second activated shape. said support member (542, 544) being configured to assume a desired, altered course for remodeling the valve annulus upon said shape memory material assuming said second activated shape, wherein said shape memory material is arranged such that heating the shape memory material to a first temperature will bring the shape memory material to assume said first activated shape and further heating of the shape memory material to a second temperature will bring the shape memory material to assume said second activated shape, wherein the device is arranged in a generally elongate shape in the inactivated shape, wherein the support member is a first support member and the device further comprises a second support member connected to said first support member, said second support member being configured to abut an opposite side of the valve and being arranged to conform to the shape of at least a part of the valve annulus upon said shape memory material assuming said first activated shape, whereby a portion of the valve tissue is trapped between said first and second support members (542, 544), said second support member being configured to assume a desired, altered course for remodeling the valve annulus upon said shape memory material assuming said second activated shape.