Cluster expansions of alloy energetics in ternary intermetallics.