30 likes | 226 Views
LZW. When split up we discover a variety of identical strings: RRG BGB GG BR GB BGB RRG BGB G BGB B BR R BGB G. RRGBGBGGBRGBBGBRRGBGBGBGBBBRRBGBG. $_1 = RRG. $_1 BGB GG BR GB BGB $_1 BGB G BGB B BR R BGB G. $_2 = BGB.
E N D
LZW When split up we discover a variety of identical strings: RRGBGB GG BR GB BGBRRGBGB G BGB B BR R BGB G • RRGBGBGGBRGBBGBRRGBGBGBGBBBRRBGBG $_1 = RRG $_1BGB GG BR GB BGB$_1BGB G BGB B BR R BGB G $_2 = BGB • $_1$_2 GG BR GB $_2$_1$_2 G $_2 B BR R $_2 G $_3 = BR • $_1$_2 GG $_3 GB $_2$_1$_2 G $_2 B $_3 R $_2 G
or another possibility: RRGBGB G GBRGB B GBR R GBGBGBGB BB RR B GB G $_1$_2G$_3$_4B$_3R$_2$_2BB$_1B$_4G [$_1=RR][$_2=GBGB][$_3=GBR][$_4=GB] ...and a last one: RRGBGBGGB R GB B GBRRGBGBG B GB BBRRB GB G $_1$_2R$_2B$_2$_1B$_2BBRRB$_2G [$_1=RRGBGBG][$_2=GB]